remove nginx ref

This commit is contained in:
2025-07-05 02:39:46 +02:00
parent 5a76fe3f79
commit 4416680c47

View File

@ -1,5 +1,4 @@
# Build stage
FROM node:18-alpine AS builder
FROM node:18-alpine
WORKDIR /app
@ -15,15 +14,6 @@ COPY . .
# Build the application
RUN npm run build
# Production stage
FROM nginx:alpine
EXPOSE 4173
# Copy built application
COPY --from=builder /app/dist /usr/share/nginx/html
# Copy nginx configuration
COPY nginx.conf /etc/nginx/nginx.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
CMD ["npm", "run", "preview"]