correzione a Dockerfile

This commit is contained in:
Andre Villari 2026-10-26 00:22:57 +01:00
parent e89842350b
commit 858234e937

View file

@ -1,7 +1,7 @@
# BUILD
FROM node:20-alpine AS builder
WORKDIR /andreavillari
WORKDIR /root/andreavillari
COPY package*.json ./
RUN npm install
@ -19,7 +19,7 @@ RUN npm run builder
# --- STAGE 2 : Production (Serve file statici con Nginx)---
FROM nginx:alpine
COPY --from-builder /andreavillari
COPY --from-builder /root/andreavillari
EXPOSE 80