Skip to content

Commit d6a4d47

Browse files
committed
build: update uv sync command in Dockerfile
- Add `--extra migrations` to include migration-related dependencies in production builds.
1 parent 0eddf3c commit d6a4d47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ COPY pyproject.toml uv.lock ./
5151
# --no-dev: Exclude development dependencies
5252
# --extra production: Include any production related dependencies (redis, aiocache etc...)
5353
RUN --mount=type=cache,target=/root/.cache/uv \
54-
uv sync --frozen --no-default-groups --extra production
54+
uv sync --frozen --no-default-groups --extra production --extra migrations
5555

5656
# ============================================
5757
# Stage 3: Runtime - Production Image

0 commit comments

Comments
 (0)