Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -91,9 +91,10 @@ USER user
|
|
| 91 |
# All users can use /home/user as their home directory
|
| 92 |
ENV HOME=/home/user
|
| 93 |
RUN mkdir $HOME/.cache $HOME/.config \
|
| 94 |
-
&& touch ~/.vnc/x11vnc.log \
|
| 95 |
&& chmod -R 777 $HOME
|
| 96 |
|
|
|
|
|
|
|
| 97 |
# Set up the Conda environment
|
| 98 |
ENV CONDA_AUTO_UPDATE_CONDA=false \
|
| 99 |
PATH=$HOME/miniconda/bin:$PATH
|
|
@@ -141,7 +142,6 @@ RUN chown -R user:user /web-ui && chmod -R 755 /web-ui
|
|
| 141 |
|
| 142 |
# Use Conda environment Python explicitly
|
| 143 |
# CMD ["/home/user/miniconda/envs/webui/bin/python", "webui.py", "--ip", "0.0.0.0", "--port", "7860"]
|
| 144 |
-
|
| 145 |
# CMD ["/web-ui/start.sh"]
|
| 146 |
|
| 147 |
# Start supervisor
|
|
|
|
| 91 |
# All users can use /home/user as their home directory
|
| 92 |
ENV HOME=/home/user
|
| 93 |
RUN mkdir $HOME/.cache $HOME/.config \
|
|
|
|
| 94 |
&& chmod -R 777 $HOME
|
| 95 |
|
| 96 |
+
RUN touch ~/.vnc/x11vnc.log
|
| 97 |
+
|
| 98 |
# Set up the Conda environment
|
| 99 |
ENV CONDA_AUTO_UPDATE_CONDA=false \
|
| 100 |
PATH=$HOME/miniconda/bin:$PATH
|
|
|
|
| 142 |
|
| 143 |
# Use Conda environment Python explicitly
|
| 144 |
# CMD ["/home/user/miniconda/envs/webui/bin/python", "webui.py", "--ip", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 145 |
# CMD ["/web-ui/start.sh"]
|
| 146 |
|
| 147 |
# Start supervisor
|