Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -3,6 +3,7 @@ FROM python:3.9-slim
|
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
COPY ./requirements.txt /app/requirements.txt
|
|
|
|
| 6 |
RUN pip3 install --no-cache-dir -r /app/requirements.txt
|
| 7 |
RUN pip3 install numpy
|
| 8 |
RUN pip3 install cython==0.29.21
|
|
@@ -23,5 +24,6 @@ EXPOSE 8501
|
|
| 23 |
CMD streamlit run ⓘ_Introduction.py \
|
| 24 |
--server.headless true \
|
| 25 |
--server.enableCORS false \
|
|
|
|
| 26 |
--server.enableXsrfProtection false \
|
| 27 |
--server.fileWatcherType none
|
|
|
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
COPY ./requirements.txt /app/requirements.txt
|
| 6 |
+
RUN apt-get update && apt-get upgrade -y && apt-get install gcc
|
| 7 |
RUN pip3 install --no-cache-dir -r /app/requirements.txt
|
| 8 |
RUN pip3 install numpy
|
| 9 |
RUN pip3 install cython==0.29.21
|
|
|
|
| 24 |
CMD streamlit run ⓘ_Introduction.py \
|
| 25 |
--server.headless true \
|
| 26 |
--server.enableCORS false \
|
| 27 |
+
|
| 28 |
--server.enableXsrfProtection false \
|
| 29 |
--server.fileWatcherType none
|