Commit
·
3a11df1
1
Parent(s):
8292956
updated docker
Browse files- Dockerfile +6 -6
Dockerfile
CHANGED
@@ -26,15 +26,15 @@ USER user
|
|
26 |
ENV HOME /home/user
|
27 |
ENV PATH $HOME/.local/bin:$PATH
|
28 |
|
29 |
-
WORKDIR
|
30 |
-
RUN mkdir app
|
31 |
-
WORKDIR $HOME/app
|
32 |
-
COPY . $HOME/app
|
33 |
|
34 |
-
|
|
|
35 |
|
36 |
-
|
|
|
37 |
|
|
|
38 |
|
39 |
EXPOSE 7860
|
40 |
|
|
|
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 |
|