Corrected compose service contexts
This commit is contained in:
@@ -7,13 +7,13 @@ WORKDIR /app
|
|||||||
RUN corepack enable
|
RUN corepack enable
|
||||||
|
|
||||||
# Copy dependency definitions from the subdirectory
|
# Copy dependency definitions from the subdirectory
|
||||||
COPY PostFundManagement.ConsoleUI/package*.json PostFundManagement.ConsoleUI/yarn.lock* ./
|
COPY package*.json yarn.lock* ./
|
||||||
|
|
||||||
# Install dependencies via Yarn
|
# Install dependencies via Yarn
|
||||||
RUN yarn install --frozen-lockfile || yarn install
|
RUN yarn install --frozen-lockfile || yarn install
|
||||||
|
|
||||||
# Copy application source from the subdirectory
|
# Copy application source from the subdirectory
|
||||||
COPY PostFundManagement.ConsoleUI/ ./
|
COPY . .
|
||||||
|
|
||||||
# Build Vite application for production
|
# Build Vite application for production
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
|||||||
+2
-2
@@ -56,8 +56,8 @@ services:
|
|||||||
pfm-console:
|
pfm-console:
|
||||||
image: pfm-console
|
image: pfm-console
|
||||||
build:
|
build:
|
||||||
context: .
|
context: ./PostFundManagement.ConsoleUI
|
||||||
dockerfile: PostFundManagement.ConsoleUI/Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: pfm-console
|
container_name: pfm-console
|
||||||
ports:
|
ports:
|
||||||
- "8076:3000"
|
- "8076:3000"
|
||||||
|
|||||||
Reference in New Issue
Block a user