add docker

This commit is contained in:
Amirhossein Mahmoodi
2024-11-13 15:21:06 +03:30
parent 74baabd053
commit 1533fb9643
3 changed files with 20 additions and 1 deletions

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM node:21.1.0-alpine3.18
WORKDIR /var/www/app
COPY package*.json .
RUN npm install
COPY . .
CMD [ "tail", "-f", "/dev/null"]