Update Dockerfile

This commit is contained in:
2025-12-09 14:07:27 +01:00
committed by GitHub
parent 7f495bf444
commit 891ea7a12c

View File

@@ -1,10 +1,13 @@
node_modules FROM node:18-alpine
dist WORKDIR /app
.git
.env # Set production environment
.DS_Store ENV NODE_ENV=production
docker-compose.yml
Dockerfile COPY package*.json ./
server RUN npm install --production
.idea
.vscode COPY . .
EXPOSE 3001
CMD ["node", "server.js"]