Severian commited on
Commit
570d40a
·
verified ·
1 Parent(s): 1841e3a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -2
Dockerfile CHANGED
@@ -53,8 +53,11 @@ USER user
53
  ENV HOME=/home/user \
54
  PATH=/home/user/.local/bin:$PATH
55
 
56
- # Copy application code and entrypoint
57
- COPY --chown=user docker/entrypoint.sh /entrypoint.sh
 
 
 
58
  RUN chmod +x /entrypoint.sh
59
 
60
  # Set required environment variables
@@ -75,3 +78,4 @@ EXPOSE 7860
75
  WORKDIR /app
76
 
77
  ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]
 
 
53
  ENV HOME=/home/user \
54
  PATH=/home/user/.local/bin:$PATH
55
 
56
+ # Copy source code
57
+ COPY --chown=user . /app/api/
58
+
59
+ # Copy entrypoint
60
+ COPY --chown=user /app/api/docker/entrypoint.sh /entrypoint.sh
61
  RUN chmod +x /entrypoint.sh
62
 
63
  # Set required environment variables
 
78
  WORKDIR /app
79
 
80
  ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]
81
+