dockerized

This commit is contained in:
Jose Conde
2024-07-17 00:14:14 +02:00
parent 2b54efb604
commit d322442022
3 changed files with 9 additions and 57 deletions

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM node:22-alpine
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm i
COPY . .
RUN npm run build
EXPOSE 3000
CMD ["node", "dist/server/index.js"]