Dockerized application

This commit is contained in:
Sergio 2023-04-20 12:40:01 +02:00
parent 6363d5171d
commit fcc23ffd51
3 changed files with 29 additions and 1 deletions

20
Dockerfile Normal file
View file

@ -0,0 +1,20 @@
FROM node:14
WORKDIR /app
COPY package.json .
# RUN npm i -g npm-check-updates
# RUN ncu -u
RUN npm update
RUN npm install
COPY . .
RUN npm run build
EXPOSE 4200
# Start APP
# ENTRYPOINT ["npm","start"]
CMD npm start