Changed Node to v20
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Phil 2024-10-21 18:53:24 +02:00
parent e04545ecb1
commit b9981813d5
Signed by: Phil
GPG key ID: 350C8B7C4EF5DED4

View file

@ -1,11 +1,11 @@
FROM node:latest as builder FROM node:20 AS builder
RUN npm install RUN npm install
RUN npm run build RUN npm run build
COPY dist/* /dist/ COPY dist/* /dist/
FROM nginx:stable-alpine-slim as production FROM nginx:stable-alpine-slim AS production
RUN rm -rf /usr/share/nginx/html RUN rm -rf /usr/share/nginx/html
RUN mkdir -p /usr/share/nginx/html RUN mkdir -p /usr/share/nginx/html