Use home directory.
build_develop / build (push) Successful in 21s

This commit is contained in:
2025-03-18 22:00:38 -04:00
parent 54a011337a
commit 56289e7038
+2 -2
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 . /off_cooldown_bot
COPY . /home
# Sync the project into a new environment, using the frozen lockfile
WORKDIR /off_cooldown_bot
WORKDIR /home
RUN uv sync --frozen --no-dev
CMD ["uv", "run", "./off_cooldown_bot/main.py"]