From 64311c22942461e1a343b636497aa4990a0e4c66 Mon Sep 17 00:00:00 2001 From: Aj - Thomas Date: Sun, 8 May 2022 19:24:33 +0200 Subject: [PATCH] Add simple Dockerfile --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..a5ccd0019 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM node:16.15.0-alpine3.15 as build + +WORKDIR /app + +COPY ./package.json /app/package.json +COPY ./yarn.lock /app/yarn.lock + +RUN yarn install +COPY . . +RUN yarn export + +FROM nginx:1.21.6 +COPY --from=build /app/out /usr/share/nginx/html