From 4f7ae05357f62214149c9642ec1a2d1cf6f606ba Mon Sep 17 00:00:00 2001 From: henryclw <97804910+henryclw@users.noreply.github.com> Date: Sat, 23 Apr 2022 17:19:43 -0700 Subject: [PATCH] Create Dockerfile --- Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3180780 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM node:lts-alpine + +RUN apk update + +WORKDIR /app + +COPY . ./ + +RUN yarn + +RUN yarn build + +EXPOSE 5000 + +ENTRYPOINT ["yarn", "start"]