fix: Dockerfile paths for repo-root build context

This commit is contained in:
goose 2026-07-05 11:29:24 -03:00
parent 1b5c1e2a06
commit 2a2f14cbda
2 changed files with 5 additions and 4 deletions

View file

@ -12,11 +12,11 @@ FROM node:20-slim AS node-builder
WORKDIR /app
# Copy package files and install deps.
COPY package.json package-lock.json ./
COPY web/normogen-web/package.json web/normogen-web/package-lock.json ./
RUN npm ci
# Copy the source and build.
COPY . .
COPY web/normogen-web/ ./
RUN npm run build
# ============================================================================
@ -27,7 +27,7 @@ FROM rust:latest AS rust-builder
WORKDIR /server
# Copy the frontend-server crate.
COPY frontend-server/ ./
COPY web/frontend-server/ ./
# Build release.
RUN cargo build --release