diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d1ba017 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM node:alpine AS build + +WORKDIR /usr/src/app + +COPY . . + +RUN yarn && \ + yarn build + +VOLUME [ "/usr/src/app/database" ] +ENTRYPOINT ["node","./dist/src/index.js"]