Fixed dockerfile paths #33

Merged
khwezi merged 1 commits from endpoints into main 2026-09-11 15:47:31 +02:00
Showing only changes of commit 9874eac65d - Show all commits
+5 -5
View File
@@ -4,13 +4,13 @@ FROM node:20-alpine AS builder
WORKDIR /app WORKDIR /app
# Copy dependency definitions # Copy dependency definitions
COPY package*.json ./ COPY PostFundManagement.ConsoleUI/package*.json ./
# Install dependencies # Install dependencies
RUN npm ci || npm install RUN npm ci || npm install
# Copy application source # Copy application source
COPY . . COPY PostFundManagement.ConsoleUI/ .
# Build Vite application for production # Build Vite application for production
RUN npm run build RUN npm run build
@@ -22,11 +22,11 @@ FROM nginx:alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf COPY nginx.conf /etc/nginx/conf.d/default.conf
# Copy compiled static assets from build stage # Copy compiled static assets from build stage
COPY --from=builder /app/dist /usr/share/nginx/html COPY --from=builder /app/PostFundManagement.ConsoleUI/dist /usr/share/nginx/html
# Copy entrypoint script for dynamic runtime environment variables # Copy entrypoint script for dynamic runtime environment variables
COPY docker-entrypoint.sh /docker-entrypoint.sh COPY docker-entrypoint.sh /app/PostFundManagement.ConsoleUI/docker-entrypoint.sh
RUN chmod +x /docker-entrypoint.sh RUN chmod +x /app/PostFundManagement.ConsoleUI/docker-entrypoint.sh
# Expose port 3000 # Expose port 3000
EXPOSE 3000 EXPOSE 3000