docker port change sql

This commit is contained in:
2025-10-16 19:28:45 +05:30
parent d8b15841e6
commit f3574d607a

View File

@ -1,28 +1,17 @@
# Stage 1: Build Angular application
FROM node:18-alpine AS builder
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies with legacy peer deps flag
RUN npm ci --legacy-peer-deps
# Copy source code
COPY . .
# Build for production
RUN npm run build -- --configuration production --progress=true
# Development build (much faster - 2-3 minutes)
RUN npm run build
# Stage 2: Serve with Nginx
FROM nginx:alpine AS production
# Copy built artifacts from builder
COPY --from=builder /app/dist/fuse-angular /usr/share/nginx/html
# Expose port 80
EXPOSE 80
# Run nginx
CMD ["nginx", "-g", "daemon off;"]