added docker support

This commit is contained in:
2023-04-08 16:08:49 +05:00
parent 178f00147c
commit 8a255d41af
4 changed files with 40 additions and 0 deletions

16
.build/Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM node:18.15.0-alpine3.17
# Set build shell to bash, default has has some issues sometimes
#SHELL ["/bin/bash", "-c"]
WORKDIR /root
COPY . .
RUN yarn install \
&& rm -rf /usr/local/share/.cache
#&& yarn build
CMD yarn build && yarn start