From 4416680c4780171bece0b0ea75257da2a8e91e1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Forment?= Date: Sat, 5 Jul 2025 02:39:46 +0200 Subject: [PATCH] remove nginx ref --- Dockerfile | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/Dockerfile b/Dockerfile index e1331fc..2f96679 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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;"] \ No newline at end of file +CMD ["npm", "run", "preview"] \ No newline at end of file