YoBatM commited on
Commit
98e62b8
·
verified ·
1 Parent(s): af906fb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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/1291001013413470208 &
20
- #RUN bash load_full.sh https://www.jsonblob.com/api/jsonBlob/1291001013413470208 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
 
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