Emil25 commited on
Commit
8a58e1a
·
verified ·
1 Parent(s): f57a458

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -8
Dockerfile CHANGED
@@ -6,11 +6,11 @@ USER root
6
 
7
  WORKDIR /app
8
 
9
- COPY scripts /app/scripts/
10
 
11
- COPY app.py /app/app.py
12
 
13
- COPY requirements.txt /app/requirements.txt
14
 
15
  RUN apt-get update && \
16
  apt-get install -y python3-pip python3-venv
@@ -22,8 +22,4 @@ ENV PATH="/app/venv/bin:$PATH"
22
  RUN pip install --upgrade pip && \
23
  pip install --no-cache-dir --upgrade -r /app/requirements.txt
24
 
25
- CMD streamlit run app.py \
26
- --server.headless true \
27
- --server.enableCORS false \
28
- --server.enableXsrfProtection false \
29
- --server.fileWatcherType none
 
6
 
7
  WORKDIR /app
8
 
9
+ COPY scripts ./scripts/
10
 
11
+ COPY app.py ./app.py
12
 
13
+ COPY requirements.txt ./requirements.txt
14
 
15
  RUN apt-get update && \
16
  apt-get install -y python3-pip python3-venv
 
22
  RUN pip install --upgrade pip && \
23
  pip install --no-cache-dir --upgrade -r /app/requirements.txt
24
 
25
+ CMD streamlit run app.py