koaning commited on
Commit
2a0c10d
·
verified ·
1 Parent(s): b6f407d

Update Dockerfile

Browse files

Hopefully this prevents some of the permisson errors that we've been seeing on starting a new template.

Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -11,6 +11,9 @@ COPY --chown=user ./requirements.txt requirements.txt
11
  RUN uv pip install -r requirements.txt
12
 
13
  COPY --chown=user . /app
 
 
 
14
  USER user
15
 
16
  CMD ["marimo", "run", "app.py", "--include-code", "--host", "0.0.0.0", "--port", "7860"]
 
11
  RUN uv pip install -r requirements.txt
12
 
13
  COPY --chown=user . /app
14
+ RUN mkdir -p /app/__marimo__ && \
15
+ chown -R user:user /app && \
16
+ chmod -R 755 /app
17
  USER user
18
 
19
  CMD ["marimo", "run", "app.py", "--include-code", "--host", "0.0.0.0", "--port", "7860"]