Move things into a repo named module.

This commit is contained in:
2025-03-18 10:48:48 -04:00
parent 5edd4e9a0c
commit 56406de693
9 changed files with 12 additions and 33 deletions
+3 -3
View File
@@ -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}
COPY . /${REPO_NAME_SNAKE}
# Sync the project into a new environment, using the frozen lockfile
WORKDIR /${REPO_NAME}
WORKDIR /${REPO_NAME_SNAKE}
RUN uv sync --frozen --no-dev
CMD ["uv", "run", "./main.py"]
CMD ["uv", "run", "./${REPO_NAME_SNAKE}/main.py"]