From 0216f8879440ce73d90a9e58cc5eac68240e9fdd Mon Sep 17 00:00:00 2001 From: Galen Guyer Date: Fri, 29 Oct 2021 12:19:15 -0400 Subject: add static data for 2020-2021 school year --- Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a1d584a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM node:12.17 as build-deps +RUN npm i -g pnpm +WORKDIR /usr/src/app +COPY package.json ./ +RUN pnpm i +COPY . ./ +RUN pnpm build + +FROM cr.galenguyer.com/nginx/spa:latest +COPY --from=build-deps /usr/src/app/build /usr/share/nginx/html/ -- cgit v1.2.3