diff --git a/Dockerfile b/Dockerfile index 89def11..8702727 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,10 +3,10 @@ FROM python:3.12.3-slim # install uv COPY --from=ghcr.io/astral-sh/uv:0.6.5 /uv /uvx /bin/ -COPY . /${REPO_NAME_SNAKE} +COPY . /home # Sync the project into a new environment, using the frozen lockfile -WORKDIR /${REPO_NAME_SNAKE} +WORKDIR /home RUN uv sync --frozen --no-dev CMD ["uv", "run", "./${REPO_NAME_SNAKE}/main.py"]