Update Dockerfile

This commit is contained in:
2025-12-07 13:00:58 +01:00
committed by GitHub
parent 484998a920
commit 987afe5f5b

View File

@@ -0,0 +1,10 @@
FROM node:20-alpine
WORKDIR /app
# Copia package.json del server
COPY package*.json ./
# Installa le dipendenze
RUN npm install
# Copia il codice sorgente del server
COPY . .
EXPOSE 3001
CMD ["npm", "start"]