Dmitry Beresnev commited on
Commit
68923d8
·
1 Parent(s): 67cf156

fix dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -4
Dockerfile CHANGED
@@ -2,7 +2,6 @@ FROM python:3.10-slim
2
 
3
  # Set environment variables
4
  ENV HOME=/app
5
- ENV STREAMLIT_CONFIG_DIR=$HOME/.streamlit
6
 
7
  # Create app directory and set as working dir
8
  WORKDIR $HOME
@@ -19,8 +18,8 @@ COPY src/ ./src/
19
 
20
  RUN pip3 install -r requirements.txt
21
 
22
- EXPOSE 8501
23
 
24
- HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
25
 
26
- ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]
 
2
 
3
  # Set environment variables
4
  ENV HOME=/app
 
5
 
6
  # Create app directory and set as working dir
7
  WORKDIR $HOME
 
18
 
19
  RUN pip3 install -r requirements.txt
20
 
21
+ EXPOSE 8443
22
 
23
+ HEALTHCHECK CMD curl --fail http://localhost:8443/_stcore/health
24
 
25
+ ENTRYPOINT ["python3", "src/telegram_bot.py"]