Corrected compose service contexts

This commit is contained in:
2026-09-13 18:01:31 +02:00
parent 9945b773db
commit 4b658bdfd5
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"