Corrected compose service contexts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user