add docker

This commit is contained in:
Amirhossein Mahmoodi
2024-11-13 13:40:34 +03:30
parent 9001739631
commit ee28594ee1
3 changed files with 21 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"]