sathvikk commited on
Commit
f3bf523
·
verified ·
1 Parent(s): aa14e95

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -15,8 +15,8 @@ RUN mkdir -p /cache && chmod -R 777 /cache
15
  COPY requirements.txt .
16
  RUN pip install --no-cache-dir -r requirements.txt
17
 
18
- # Copy application
19
- COPY app/ ./app/
20
 
21
  # Set environment variables
22
  ENV TRANSFORMERS_CACHE=/cache
@@ -24,7 +24,7 @@ ENV STREAMLIT_SERVER_PORT=8501
24
  ENV STREAMLIT_SERVER_MAX_UPLOAD_SIZE=10
25
  EXPOSE 8501
26
 
27
- CMD ["streamlit", "run", "app/streamlit_app.py", \
28
  "--server.port=8501", \
29
  "--server.address=0.0.0.0", \
30
  "--server.maxUploadSize=10", \
 
15
  COPY requirements.txt .
16
  RUN pip install --no-cache-dir -r requirements.txt
17
 
18
+ # Copy application files
19
+ COPY src/ ./src/
20
 
21
  # Set environment variables
22
  ENV TRANSFORMERS_CACHE=/cache
 
24
  ENV STREAMLIT_SERVER_MAX_UPLOAD_SIZE=10
25
  EXPOSE 8501
26
 
27
+ CMD ["streamlit", "run", "src/streamlit_app.py", \
28
  "--server.port=8501", \
29
  "--server.address=0.0.0.0", \
30
  "--server.maxUploadSize=10", \