Commit
·
6abc080
1
Parent(s):
be2682a
Try python 3.10
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -11,12 +11,14 @@ RUN apt-get update && apt-get install -y \
|
|
| 11 |
|
| 12 |
ENV HOME=/tmp
|
| 13 |
ENV STREAMLIT_HOME=/tmp
|
|
|
|
|
|
|
| 14 |
|
| 15 |
COPY requirements.txt ./
|
| 16 |
COPY src/ ./src/
|
| 17 |
|
| 18 |
# Create environment and install dependencies
|
| 19 |
-
RUN conda create -n appenv python=3.
|
| 20 |
RUN conda run -n appenv conda install --file requirements.txt -y
|
| 21 |
RUN conda run -n appenv pip install scikit-learn opencv-python-headless streamlit-webrtc matplotlib huggingface-hub
|
| 22 |
|
|
|
|
| 11 |
|
| 12 |
ENV HOME=/tmp
|
| 13 |
ENV STREAMLIT_HOME=/tmp
|
| 14 |
+
ENV MPLCONFIGDIR=/tmp/mpl_cache
|
| 15 |
+
RUN mkdir -p /tmp/mpl_cache
|
| 16 |
|
| 17 |
COPY requirements.txt ./
|
| 18 |
COPY src/ ./src/
|
| 19 |
|
| 20 |
# Create environment and install dependencies
|
| 21 |
+
RUN conda create -n appenv python=3.10 -y
|
| 22 |
RUN conda run -n appenv conda install --file requirements.txt -y
|
| 23 |
RUN conda run -n appenv pip install scikit-learn opencv-python-headless streamlit-webrtc matplotlib huggingface-hub
|
| 24 |
|