Spaces:
Runtime error
Runtime error
update dev mode
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
|
@@ -64,15 +64,15 @@ RUN pip install --no-index --no-cache-dir pytorch3d -f https://dl.fbaipublicfile
|
|
| 64 |
RUN python -c "import torch; print(torch.version.cuda)"
|
| 65 |
|
| 66 |
# Set the working directory to the user's home directory
|
| 67 |
-
WORKDIR $HOME
|
| 68 |
|
| 69 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 70 |
-
COPY --chown=user . $HOME
|
| 71 |
-
RUN chmod
|
| 72 |
|
| 73 |
ENV TRANSFORMERS_CACHE=/tmp
|
| 74 |
ENV MPLCONFIGDIR=/tmp
|
| 75 |
|
| 76 |
-
|
| 77 |
|
| 78 |
CMD ["python", "app.py"]
|
|
|
|
| 64 |
RUN python -c "import torch; print(torch.version.cuda)"
|
| 65 |
|
| 66 |
# Set the working directory to the user's home directory
|
| 67 |
+
WORKDIR $HOME
|
| 68 |
|
| 69 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 70 |
+
COPY --chown=user . $HOME
|
| 71 |
+
RUN chmod 777 $HOME
|
| 72 |
|
| 73 |
ENV TRANSFORMERS_CACHE=/tmp
|
| 74 |
ENV MPLCONFIGDIR=/tmp
|
| 75 |
|
| 76 |
+
WORKDIR $HOME/app
|
| 77 |
|
| 78 |
CMD ["python", "app.py"]
|