2ch commited on
Commit
e7e2710
·
verified ·
1 Parent(s): 0bd40d5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -7,5 +7,4 @@ RUN curl -s https://api.github.com/repos/gniloyprolaps/telegram-bot-api-builds/r
7
  | xargs curl -L -o telegram-bot-api
8
  RUN chmod +x telegram-bot-api
9
  RUN mkdir -p data temp && chmod 777 data temp
10
- ENTRYPOINT ["./telegram-bot-api"]
11
- CMD ["--local", "--api-id=<arg>", "--api-hash=<arg>", "--http-port=7860", "--dir=data", "--temp-dir=temp"]
 
7
  | xargs curl -L -o telegram-bot-api
8
  RUN chmod +x telegram-bot-api
9
  RUN mkdir -p data temp && chmod 777 data temp
10
+ CMD ./telegram-bot-api --local --api-id=$API_ID --api-hash=$API_HASH --http-port=7860 --dir=/app/data --temp-dir=/app/temp