Yuliang commited on
Commit
df8ac74
1 Parent(s): 2b067bd

update dev mode

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