MogensR commited on
Commit
175db35
·
verified ·
1 Parent(s): 89735f8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -112,13 +112,13 @@ RUN echo "Attempting to download SAM2 configs..." && \
112
  # ---- Copy App Code ----
113
  COPY --chown=user:user . .
114
 
 
115
  # ---- Create Writable Directories ----
116
  RUN mkdir -p /home/user/app/checkpoints /home/user/app/.hf /home/user/app/.torch /home/user/app/storage && \
117
  chown -R user:user /home/user/app && \
118
  chmod -R 755 /home/user/app && \
119
  find /home/user/app -type d -exec chmod 755 {} \; && \
120
- find /home/user/app -type f -exec chmod 644 {} \; && \
121
- chmod +x /home/user/app/streamlit_app.py || true
122
 
123
  # ---- Healthcheck ----
124
  HEALTHCHECK --interval=30s --timeout=8s --retries=3 CMD \
 
112
  # ---- Copy App Code ----
113
  COPY --chown=user:user . .
114
 
115
+ # ---- Create Writable Directories ----
116
  # ---- Create Writable Directories ----
117
  RUN mkdir -p /home/user/app/checkpoints /home/user/app/.hf /home/user/app/.torch /home/user/app/storage && \
118
  chown -R user:user /home/user/app && \
119
  chmod -R 755 /home/user/app && \
120
  find /home/user/app -type d -exec chmod 755 {} \; && \
121
+ find /home/user/app -type f -exec chmod 644 {} \;
 
122
 
123
  # ---- Healthcheck ----
124
  HEALTHCHECK --interval=30s --timeout=8s --retries=3 CMD \