ZainabFatimaa commited on
Commit
17bfc89
·
verified ·
1 Parent(s): 1f61407

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -21,10 +21,10 @@ RUN python -m spacy download en_core_web_sm
21
  RUN python -c "import nltk; nltk.download('punkt'); nltk.download('stopwords'); nltk.download('wordnet')"
22
 
23
  # Copy the application
24
- COPY app.py .
25
 
26
  EXPOSE 7860
27
 
28
  HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health
29
 
30
- ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]
 
21
  RUN python -c "import nltk; nltk.download('punkt'); nltk.download('stopwords'); nltk.download('wordnet')"
22
 
23
  # Copy the application
24
+ COPY src/ ./src/
25
 
26
  EXPOSE 7860
27
 
28
  HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health
29
 
30
+ ENTRYPOINT ["streamlit", "run", "src/app.py", "--server.port=7860", "--server.address=0.0.0.0"]