Spaces:
Runtime error
Runtime error
update dev mode
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -67,15 +67,15 @@ RUN pip install https://download.is.tue.mpg.de/icon/HF/kaolin-0.11.0-cp38-cp38-l
|
|
67 |
RUN pip install https://download.is.tue.mpg.de/icon/HF/pytorch3d-0.7.0-cp38-cp38-linux_x86_64.whl
|
68 |
|
69 |
# Set the working directory to the user's home directory
|
70 |
-
WORKDIR $HOME
|
71 |
|
72 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
73 |
-
COPY --chown=user . $HOME
|
74 |
-
RUN chmod
|
75 |
|
76 |
ENV TRANSFORMERS_CACHE=/tmp
|
77 |
ENV MPLCONFIGDIR=/tmp
|
78 |
|
79 |
-
|
80 |
|
81 |
CMD ["python", "app.py"]
|
|
|
67 |
RUN pip install https://download.is.tue.mpg.de/icon/HF/pytorch3d-0.7.0-cp38-cp38-linux_x86_64.whl
|
68 |
|
69 |
# Set the working directory to the user's home directory
|
70 |
+
WORKDIR $HOME
|
71 |
|
72 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
73 |
+
COPY --chown=user . $HOME
|
74 |
+
RUN chmod 777 $HOME
|
75 |
|
76 |
ENV TRANSFORMERS_CACHE=/tmp
|
77 |
ENV MPLCONFIGDIR=/tmp
|
78 |
|
79 |
+
WORKDIR $HOME/app
|
80 |
|
81 |
CMD ["python", "app.py"]
|