From 30edb2892a8416ac0d788df15fd9a9efd2e7e804 Mon Sep 17 00:00:00 2001 From: Mootfrost Date: Sun, 13 Apr 2025 00:29:34 +0300 Subject: [PATCH] Fix ci --- Dockerfile | 1 - compose.yml | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 388d887..091ff47 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,6 @@ COPY uv.lock /app/ COPY pyproject.toml /app/ COPY ./alembic /app/alembic COPY alembic.ini /app -COPY oauth.json /app/ RUN --mount=type=cache,target=/root/.cache/uv \ uv sync --frozen --no-editable diff --git a/compose.yml b/compose.yml index dbce48a..dbebe7a 100644 --- a/compose.yml +++ b/compose.yml @@ -5,6 +5,8 @@ services: build: . env_file: - .env.production + volumes: + - ./oauth.json:/app/oauth.json restart: unless-stopped command: > sh -c "python -m alembic upgrade head && python app/__main__.py"