From 21882182bed37b0e401c1d80f3f7ebe3e9d9f983 Mon Sep 17 00:00:00 2001 From: lekss361 Date: Sat, 25 Apr 2026 19:56:19 +0300 Subject: [PATCH] ix Dockerfile: remove invalid conditional COPY --- backend/Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 7e717144..234f5d87 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -23,11 +23,14 @@ WORKDIR /app COPY pyproject.toml ./ COPY uv.lock* ./ -RUN uv sync --frozen --no-dev 2>/dev/null || uv sync --no-dev +RUN uv sync --no-dev COPY app ./app -COPY alembic.ini* ./ -COPY alembic ./alembic 2>/dev/null || true + +# Alembic migrations are added in Stage 2a (DB models). Until then these COPY are skipped. +# When alembic/ exists, uncomment: +# COPY alembic.ini ./ +# COPY alembic ./alembic EXPOSE 8000