Spaces:
Running
Running
Bump Python to 3.11
Browse filesI plan to do some more testing before merging this but I think 3.11 should be working well for most libs now.
- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -48,10 +48,10 @@ ENV HOME=/home/user
|
|
| 48 |
RUN mkdir $HOME/.cache $HOME/.config \
|
| 49 |
&& chmod -R 777 $HOME
|
| 50 |
|
| 51 |
-
# Set up the Conda environment
|
| 52 |
ENV CONDA_AUTO_UPDATE_CONDA=false \
|
| 53 |
PATH=$HOME/miniconda/bin:$PATH
|
| 54 |
-
RUN curl -sLo ~/miniconda.sh https://repo.
|
| 55 |
&& chmod +x ~/miniconda.sh \
|
| 56 |
&& ~/miniconda.sh -b -p ~/miniconda \
|
| 57 |
&& rm ~/miniconda.sh \
|
|
@@ -92,7 +92,7 @@ COPY --chown=user . $HOME/app
|
|
| 92 |
|
| 93 |
RUN chmod +x start_server.sh
|
| 94 |
|
| 95 |
-
COPY --chown=user login.html /home/user/miniconda/lib/python3.
|
| 96 |
|
| 97 |
ENV PYTHONUNBUFFERED=1 \
|
| 98 |
GRADIO_ALLOW_FLAGGING=never \
|
|
|
|
| 48 |
RUN mkdir $HOME/.cache $HOME/.config \
|
| 49 |
&& chmod -R 777 $HOME
|
| 50 |
|
| 51 |
+
# Set up the Conda environment with Python 3.11
|
| 52 |
ENV CONDA_AUTO_UPDATE_CONDA=false \
|
| 53 |
PATH=$HOME/miniconda/bin:$PATH
|
| 54 |
+
RUN curl -sLo ~/miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-py311_24.7.1-0-Linux-x86_64.sh \
|
| 55 |
&& chmod +x ~/miniconda.sh \
|
| 56 |
&& ~/miniconda.sh -b -p ~/miniconda \
|
| 57 |
&& rm ~/miniconda.sh \
|
|
|
|
| 92 |
|
| 93 |
RUN chmod +x start_server.sh
|
| 94 |
|
| 95 |
+
COPY --chown=user login.html /home/user/miniconda/lib/python3.11/site-packages/jupyter_server/templates/login.html
|
| 96 |
|
| 97 |
ENV PYTHONUNBUFFERED=1 \
|
| 98 |
GRADIO_ALLOW_FLAGGING=never \
|