From 3e97877c4c091a0055040e87b43e5bd49bec466d Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 26 Jan 2022 08:47:03 +0000 Subject: [PATCH] build(docker): add alpine production stage --- Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Dockerfile b/Dockerfile index 98ca1271a..bb356434f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -77,3 +77,11 @@ COPY --chown=sculpin:sculpin --from=assets /app/build /build ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"] CMD ["bash"] + +### + +FROM alpine AS production + +COPY --from=build /output/html /app + +CMD ["sh"]