Files
agon/Dockerfile
T
imcompiling 2566bee0ce
build_develop / build (push) Successful in 36s
Use home dir.
2025-03-19 09:37:32 -04:00

16 lines
372 B
Docker

FROM python:3.12.3-slim
# install uv
COPY --from=ghcr.io/astral-sh/uv:0.6.6 /uv /uvx /bin/
RUN apt-get update && apt-get -y upgrade && apt-get -y install sqlite3
# Copy project to image
ADD . /home
# Sync the project into a new environment, using the frozen lockfile
WORKDIR /home
RUN uv sync --frozen --no-dev
CMD ["uv", "run", "--frozen", "--no-dev", "-m", "agon"]