From 66b5610deac7edf591aa2a2f89cc32eb479a829e Mon Sep 17 00:00:00 2001 From: MingxuanGame Date: Sun, 14 Sep 2025 05:43:36 +0000 Subject: [PATCH] deploy(docker): update COPY commands to explicitly include necessary files and directories --- Dockerfile | 8 ++++++-- Dockerfile-osurx | 7 ++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5ec1525..e160347 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,9 +17,13 @@ COPY pyproject.toml uv.lock ./ COPY packages/ ./packages/ RUN uv sync --frozen --no-dev -RUN uv pip install rosu-pp-py -COPY . . +COPY alembic.ini ./ +COPY tools/ ./tools/ +COPY migrations/ ./migrations/ +COPY static/ ./app/static/ +COPY app/ ./app/ +COPY main.py ./ # --- diff --git a/Dockerfile-osurx b/Dockerfile-osurx index 308257f..a14e297 100644 --- a/Dockerfile-osurx +++ b/Dockerfile-osurx @@ -19,7 +19,12 @@ COPY packages/ ./packages/ RUN uv sync --frozen --no-dev RUN uv pip install git+https://github.com/GooGuTeam/gu-pp-py.git -COPY . . +COPY alembic.ini ./ +COPY tools/ ./tools/ +COPY migrations/ ./migrations/ +COPY static/ ./app/static/ +COPY app/ ./app/ +COPY main.py ./ # ---