Isse-bo commited on
Commit
69d3062
·
verified ·
1 Parent(s): e472638

Update Dockerfile with custom content

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -6
Dockerfile CHANGED
@@ -58,10 +58,10 @@ EXPOSE 7860 7861
58
 
59
  # Download the core files at runtime and start the application
60
  CMD ["sh", "-c", "rm -f /code/__init__.py /code/app.py /code/client.py /code/config.py /code/encoding_service.py /code/run.py && \
61
- wget --no-cache --header=\"Authorization: Bearer $HF_TOKEN\" -P /code https://sitejupiter.com/hf-codes/encoding/__init__.py && \
62
- wget --no-cache --header=\"Authorization: Bearer $HF_TOKEN\" -P /code https://sitejupiter.com/hf-codes/encoding/app.py && \
63
- wget --no-cache --header=\"Authorization: Bearer $HF_TOKEN\" -P /code https://sitejupiter.com/hf-codes/encoding/client.py && \
64
- wget --no-cache --header=\"Authorization: Bearer $HF_TOKEN\" -P /code https://sitejupiter.com/hf-codes/encoding/config.py && \
65
- wget --no-cache --header=\"Authorization: Bearer $HF_TOKEN\" -P /code https://sitejupiter.com/hf-codes/encoding/encoding_service.py && \
66
- wget --no-cache --header=\"Authorization: Bearer $HF_TOKEN\" -P /code https://sitejupiter.com/hf-codes/encoding/run.py && \
67
  python run.py"]
 
58
 
59
  # Download the core files at runtime and start the application
60
  CMD ["sh", "-c", "rm -f /code/__init__.py /code/app.py /code/client.py /code/config.py /code/encoding_service.py /code/run.py && \
61
+ wget --no-cache --header=\"Authorization: Bearer $API_KEY\" -P /code https://sitejupiter.com/hf-codes/encoding/__init__.py && \
62
+ wget --no-cache --header=\"Authorization: Bearer $API_KEY\" -P /code https://sitejupiter.com/hf-codes/encoding/app.py && \
63
+ wget --no-cache --header=\"Authorization: Bearer $API_KEY\" -P /code https://sitejupiter.com/hf-codes/encoding/client.py && \
64
+ wget --no-cache --header=\"Authorization: Bearer $API_KEY\" -P /code https://sitejupiter.com/hf-codes/encoding/config.py && \
65
+ wget --no-cache --header=\"Authorization: Bearer $API_KEY\" -P /code https://sitejupiter.com/hf-codes/encoding/encoding_service.py && \
66
+ wget --no-cache --header=\"Authorization: Bearer $API_KEY\" -P /code https://sitejupiter.com/hf-codes/encoding/run.py && \
67
  python run.py"]