Dockerized this

This commit is contained in:
2021-03-18 04:45:43 +11:00
parent c60209f45e
commit f6f0549ce5
3 changed files with 148 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
FROM node:15
WORKDIR "/app"
COPY package*.json ./
RUN npm install --production
COPY . /app
EXPOSE 3300
USER node
ENTRYPOINT ["bash", "-c"]
CMD ["sleep 10 && npm start"]