From edce6f1f37a8265d2486a4b7c7c662764cfd7126 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sat, 18 Jan 2020 16:23:48 +0000 Subject: [PATCH] Dockerfile: optimize js --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bd12016..104763a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN GOBIN=/mi/bin go install ./cmd/... FROM xena/elm:0.19.1 AS elm WORKDIR /mi COPY ./frontend . -RUN elm make --output main.js src/Main.elm +RUN elm make --output main.js src/Main.elm --optimize FROM xena/alpine COPY --from=go /mi/bin /usr/local/bin