Spaces:
Sleeping
Sleeping
Commit ·
0e81291
1
Parent(s): db7c120
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -35,7 +35,7 @@ WORKDIR /app
|
|
| 35 |
|
| 36 |
# All users can use /home/user as their home directory
|
| 37 |
ENV HOME=/root
|
| 38 |
-
RUN mkdir $HOME/.cache $HOME/.config \
|
| 39 |
&& chmod -R 777 $HOME
|
| 40 |
|
| 41 |
# Set up the Conda environment
|
|
@@ -74,7 +74,7 @@ COPY --chown=root . $HOME/app
|
|
| 74 |
|
| 75 |
RUN chmod +x start_server.sh
|
| 76 |
|
| 77 |
-
COPY --chown=root login.html /
|
| 78 |
|
| 79 |
ENV PYTHONUNBUFFERED=1 \
|
| 80 |
GRADIO_ALLOW_FLAGGING=never \
|
|
|
|
| 35 |
|
| 36 |
# All users can use /home/user as their home directory
|
| 37 |
ENV HOME=/root
|
| 38 |
+
RUN mkdir -p $HOME/.cache $HOME/.config \
|
| 39 |
&& chmod -R 777 $HOME
|
| 40 |
|
| 41 |
# Set up the Conda environment
|
|
|
|
| 74 |
|
| 75 |
RUN chmod +x start_server.sh
|
| 76 |
|
| 77 |
+
COPY --chown=root login.html /root/miniconda/lib/python3.9/site-packages/jupyter_server/templates/login.html
|
| 78 |
|
| 79 |
ENV PYTHONUNBUFFERED=1 \
|
| 80 |
GRADIO_ALLOW_FLAGGING=never \
|