Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -16,8 +16,8 @@ RUN chmod -R 777 /app
|
|
16 |
EXPOSE 7000
|
17 |
EXPOSE 7001
|
18 |
RUN --mount=type=secret,id=jsonid,mode=0444,required=true echo "$(cat /run/secrets/jsonid)">a.txt
|
19 |
-
#RUN bash save_auto.sh pruebas.txt archivo.txt https://www.jsonblob.com/api/jsonBlob
|
20 |
-
|
21 |
#RUN bash save_full.sh pruebas.txt archivo.txt https://www.jsonblob.com/api/jsonBlob/1291001013413470208
|
22 |
#RUN bash save.sh /app/pruebas.txt /app/hola.txt
|
23 |
#RUN bash upload.sh hola.txt https://www.jsonblob.com/api/jsonBlob/1291001013413470208
|
|
|
16 |
EXPOSE 7000
|
17 |
EXPOSE 7001
|
18 |
RUN --mount=type=secret,id=jsonid,mode=0444,required=true echo "$(cat /run/secrets/jsonid)">a.txt
|
19 |
+
#RUN bash save_auto.sh pruebas.txt archivo.txt https://www.jsonblob.com/api/jsonBlob/$(cat) &
|
20 |
+
RUN bash load_full.sh https://www.jsonblob.com/api/jsonBlob/$(cat a.txt) archivo.txt
|
21 |
#RUN bash save_full.sh pruebas.txt archivo.txt https://www.jsonblob.com/api/jsonBlob/1291001013413470208
|
22 |
#RUN bash save.sh /app/pruebas.txt /app/hola.txt
|
23 |
#RUN bash upload.sh hola.txt https://www.jsonblob.com/api/jsonBlob/1291001013413470208
|