Update Dockerfile
Browse filesHopefully this prevents some of the permisson errors that we've been seeing on starting a new template.
- 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"]
|