File size: 468 Bytes
b5d6820
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0673a6e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# syntax=docker/dockerfile:1.4
FROM python:3.13-slim

COPY --from=ghcr.io/astral-sh/uv:0.4.20 /uv /bin/uv
ENV UV_SYSTEM_PYTHON=1 \
    PYTHONDONTWRITEBYTECODE=1 \
    PYTHONUNBUFFERED=1

WORKDIR /app

RUN useradd -m -u 1000 user

COPY requirements.txt /app/requirements.txt
RUN uv pip install -r /app/requirements.txt

COPY --chown=user:user . /app

USER user

EXPOSE 7860

CMD ["marimo", "edit", "/app/01_naming_convention.py", "--host", "0.0.0.0", "--port", "7860"]