test
Build and Deploy / build (push) Failing after 8s
Build and Deploy / deploy (push) Has been skipped

This commit is contained in:
2026-05-29 19:54:07 +02:00
parent 754e427793
commit 76c2258cfc
+12 -1
View File
@@ -13,4 +13,15 @@ COPY package*.json ./
RUN npm install
COPY . .
RUN npm run dev
RUN npm run build
# Production stage
FROM nginx:stable-alpine as production-stage
# Remove default nginx website
RUN rm -rf /usr/share/nginx/html/*
# Copy built files
COPY --from=build-stage /app/dist /usr/share/nginx/html
# Copy custom nginx configuration
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]