alexandraroze commited on
Commit
817d943
·
1 Parent(s): 3a11df1

updated docker

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -8
Dockerfile CHANGED
@@ -26,15 +26,12 @@ USER user
26
  ENV HOME /home/user
27
  ENV PATH $HOME/.local/bin:$PATH
28
 
29
- WORKDIR /home/user/app
 
 
 
30
 
31
- # Copy all application files, including .git directory
32
- COPY . .
33
-
34
- # Configure Git to mark the current directory as safe and pull LFS files
35
- RUN git config --global --add safe.directory /home/user/app && git lfs pull
36
-
37
- RUN ls
38
 
39
  EXPOSE 7860
40
 
 
26
  ENV HOME /home/user
27
  ENV PATH $HOME/.local/bin:$PATH
28
 
29
+ WORKDIR $HOME
30
+ RUN mkdir app
31
+ WORKDIR $HOME/app
32
+ COPY . $HOME/app
33
 
34
+ #RUN git lfs pull
 
 
 
 
 
 
35
 
36
  EXPOSE 7860
37