ci/cd
Build and Deploy / build-and-deploy (push) Failing after 22s

This commit is contained in:
2026-05-03 16:17:49 +02:00
parent a79f24e39b
commit a7bad87f43
4 changed files with 131 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
FROM node:20-alpine AS builder
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM nginx:alpine
RUN rm /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=builder /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]