File size: 405 Bytes
ebec85b
 
 
 
 
 
 
 
 
 
 
2074e2e
ebec85b
b5bffcc
ebec85b
 
 
2074e2e
ebec85b
2074e2e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM python:3.11-slim
COPY --chown=user --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv

RUN useradd -m -u 1000 user
USER user
WORKDIR /app


ADD uv.lock /app/uv.lock
ADD pyproject.toml /app/pyproject.toml

RUN uv sync --no-dev --frozen --no-install-project

COPY --chown=user public ./public
COPY --chown=user src ./src
RUN touch README.md

RUN uv sync --no-dev --frozen 

CMD [".venv/bin/start_tutorial"]