YoBatM commited on
Commit
eb44bad
·
verified ·
1 Parent(s): eea0e84

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -15,9 +15,10 @@ COPY --chown=1000 . /app
15
  RUN chmod -R 777 /app
16
  EXPOSE 7000
17
  EXPOSE 7001
 
18
  #RUN bash save.sh /app/pruebas.txt /app/hola.txt
19
  #RUN bash upload.sh hola.txt https://www.jsonblob.com/api/jsonBlob/1291001013413470208
20
- RUN bash load.sh https://www.jsonblob.com/api/jsonBlob/1291001013413470208 archivo.txt
21
  #Los de abajo puedes quitarlo si no usas esos plugins
22
  RUN --mount=type=secret,id=bot_token,mode=0444,required=true sed -i "s/BOTTOKEN/$(cat /run/secrets/bot_token)/g" /app/plugins/DiscordSRV/config.yml
23
  RUN --mount=type=secret,id=console_id,mode=0444,required=true sed -i "s/CONSOLEID/$(cat /run/secrets/console_id)/g" /app/plugins/DiscordSRV/config.yml
 
15
  RUN chmod -R 777 /app
16
  EXPOSE 7000
17
  EXPOSE 7001
18
+ #RUN bash save_full.sh pruebas.txt archivo.txt https://www.jsonblob.com/api/jsonBlob/1291001013413470208
19
  #RUN bash save.sh /app/pruebas.txt /app/hola.txt
20
  #RUN bash upload.sh hola.txt https://www.jsonblob.com/api/jsonBlob/1291001013413470208
21
+ #RUN bash load.sh https://www.jsonblob.com/api/jsonBlob/1291001013413470208 archivo.txt
22
  #Los de abajo puedes quitarlo si no usas esos plugins
23
  RUN --mount=type=secret,id=bot_token,mode=0444,required=true sed -i "s/BOTTOKEN/$(cat /run/secrets/bot_token)/g" /app/plugins/DiscordSRV/config.yml
24
  RUN --mount=type=secret,id=console_id,mode=0444,required=true sed -i "s/CONSOLEID/$(cat /run/secrets/console_id)/g" /app/plugins/DiscordSRV/config.yml