Yuliang commited on
Commit
264d958
1 Parent(s): 8923938

update dev mode

Browse files
Files changed (1) hide show
  1. 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/app
71
 
72
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
73
- COPY --chown=user . $HOME/app
74
- RUN chmod 755 $HOME/app
75
 
76
  ENV TRANSFORMERS_CACHE=/tmp
77
  ENV MPLCONFIGDIR=/tmp
78
 
79
- RUN git config --global user.email "yuliangxiu@gmail.com"
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"]