docker-compose

This commit is contained in:
Georgi Gardev
2023-11-18 15:45:06 +02:00
parent 8c19e4e66c
commit b0063a90e7
4 changed files with 14 additions and 4 deletions
+8
View File
@@ -0,0 +1,8 @@
FROM node:18-alpine
WORKDIR /app
COPY package.json .
RUN npm install
COPY . .
RUN npm run build
EXPOSE 3000
CMD ["npm", "start"]