Severian commited on
Commit
c01791a
·
verified ·
1 Parent(s): b034e20

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -54,8 +54,8 @@ 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 /app/entrypoint.sh
58
- RUN chmod +x /app/entrypoint.sh
59
 
60
  # Set required environment variables
61
  ENV FLASK_APP=app.py \
@@ -74,4 +74,4 @@ EXPOSE 7860
74
 
75
  WORKDIR /app
76
 
77
- ENTRYPOINT ["/bin/bash", "/app/entrypoint.sh"]
 
54
  PATH=/home/user/.local/bin:$PATH
55
 
56
  # Copy application code and entrypoint
57
+ COPY --chown=user api/docker/entrypoint.sh /entrypoint.sh
58
+ RUN chmod +x /entrypoint.sh
59
 
60
  # Set required environment variables
61
  ENV FLASK_APP=app.py \
 
74
 
75
  WORKDIR /app
76
 
77
+ ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]