Dockerfile: optimize js

This commit is contained in:
Cadey Ratio 2020-01-18 16:23:48 +00:00
parent 9539843616
commit edce6f1f37
1 changed files with 1 additions and 1 deletions

View File

@ -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