Dockerfile: optimize js
This commit is contained in:
parent
9539843616
commit
edce6f1f37
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue