Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
@@ -23,7 +23,6 @@ RUN useradd -m -u 1000 user
|
|
23 |
USER user
|
24 |
ENV HOME=/home/user \
|
25 |
PATH=/home/user/.local/bin:$PATH
|
26 |
-
RUN mkdir -pv /data/outputs/images
|
27 |
|
28 |
# Pyenv
|
29 |
RUN curl https://pyenv.run | bash
|
@@ -42,7 +41,7 @@ RUN pyenv install $PYTHON_VERSION && \
|
|
42 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
43 |
|
44 |
# Set the working directory to /data if USE_PERSISTENT_DATA is set, otherwise set to $HOME/app
|
45 |
-
WORKDIR /
|
46 |
EXPOSE 9090
|
47 |
|
48 |
|
|
|
23 |
USER user
|
24 |
ENV HOME=/home/user \
|
25 |
PATH=/home/user/.local/bin:$PATH
|
|
|
26 |
|
27 |
# Pyenv
|
28 |
RUN curl https://pyenv.run | bash
|
|
|
41 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
42 |
|
43 |
# Set the working directory to /data if USE_PERSISTENT_DATA is set, otherwise set to $HOME/app
|
44 |
+
WORKDIR $HOME/app
|
45 |
EXPOSE 9090
|
46 |
|
47 |
|