Corrected compose service contexts #51
@@ -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
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user