feat: docker file

This commit is contained in:
Artemy Egorov 2023-08-27 12:32:43 +03:00
parent fee72debf4
commit 07d490af61
2 changed files with 17 additions and 0 deletions

1
.dockerignore Normal file
View File

@ -0,0 +1 @@
node_modules

16
Dockerfile Normal file
View File

@ -0,0 +1,16 @@
FROM node:18.17.1
WORKDIR /app
COPY package*.json .
RUN npm install
COPY . .
RUN npm run build
ENV PORT=8080
EXPOSE 8080
CMD ["npm", "start"]