Update Dockerfile
Browse files- Dockerfile +4 -8
Dockerfile
CHANGED
@@ -6,11 +6,11 @@ USER root
|
|
6 |
|
7 |
WORKDIR /app
|
8 |
|
9 |
-
COPY scripts
|
10 |
|
11 |
-
COPY app.py
|
12 |
|
13 |
-
COPY 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
|
|
|
|
|
|
|
|