add docker build stuff

This commit is contained in:
2024-02-10 23:17:41 +05:00
parent ff23ec0161
commit bb3eb5c709
3 changed files with 36 additions and 0 deletions

9
.build/node.Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM node:18.18-buster AS npminstall
WORKDIR /var/www/html
COPY . /var/www/html
RUN --mount=type=cache,target=/root/.npm \
npm install
CMD npm run start