Made Copy better
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Phil 2024-10-21 19:01:01 +02:00
parent 309e7010c3
commit a6861caedd
Signed by: Phil
GPG key ID: 350C8B7C4EF5DED4

View file

@ -1,7 +1,7 @@
FROM node:20 AS builder FROM node:20 AS builder
WORKDIR /app WORKDIR /app
COPY ./ /app COPY . .
RUN npm install RUN npm install
RUN npm run build RUN npm run build
@ -10,4 +10,4 @@ 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
COPY --from=builder /app/dist/* /usr/share/nginx/html/ COPY --from=builder /app/dist/ /usr/share/nginx/html/