aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile10
1 files changed, 10 insertions, 0 deletions
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/