add docker

This commit is contained in:
Amirhossein Mahmoodi
2024-11-12 13:20:36 +03:30
parent 99991bb841
commit 450f085286
3 changed files with 19 additions and 0 deletions

10
Dockerfile Normal file
View File

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