aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile11
1 files changed, 10 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 15ee3a9..5a5f92f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,2 +1,11 @@
1FROM mhart/alpine-node:14 as builder
2
3WORKDIR /tmp
4COPY . .
5
6RUN yarn && yarn build
7
8###
9# production image
1FROM nginx:stable-alpine 10FROM nginx:stable-alpine
2COPY build /usr/share/nginx/html 11COPY --from=builder /tmp/build /usr/share/nginx/html