Corrected compose service contexts #51

Merged
khwezi merged 1 commits from garages3 into main 2026-09-13 18:01:53 +02:00
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -7,13 +7,13 @@ WORKDIR /app
RUN corepack enable
# Copy dependency definitions from the subdirectory
COPY PostFundManagement.ConsoleUI/package*.json PostFundManagement.ConsoleUI/yarn.lock* ./
COPY package*.json yarn.lock* ./
# Install dependencies via Yarn
RUN yarn install --frozen-lockfile || yarn install
# Copy application source from the subdirectory
COPY PostFundManagement.ConsoleUI/ ./
COPY . .
# Build Vite application for production
RUN yarn build
+2 -2
View File
@@ -56,8 +56,8 @@ services:
pfm-console:
image: pfm-console
build:
context: .
dockerfile: PostFundManagement.ConsoleUI/Dockerfile
context: ./PostFundManagement.ConsoleUI
dockerfile: Dockerfile
container_name: pfm-console
ports:
- "8076:3000"