correzione a Dockerfile
This commit is contained in:
parent
e89842350b
commit
858234e937
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue