Update Dockerfile
Browse files- 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 |
-
|
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
|
|