Dockerized this website

This commit is contained in:
2021-03-08 00:31:37 +11:00
parent 60c47be304
commit 46d639e383
4 changed files with 124 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
FROM node:15.8
WORKDIR "/app"
COPY package*.json ./
RUN npm install
RUN apt-get update
COPY . /app
EXPOSE 3000
ENTRYPOINT ["bash", "-c"]
CMD ["npm start"]