From e805bdd1351e19bfeb3ef1ab2abbd2117c1eff9d Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Sun, 28 Jul 2019 21:44:10 +0200 Subject: [PATCH] New build mechanism --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index dc4a979..a6e1af0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,14 @@ FROM node:alpine as frontend -RUN yarn global add elm elm-test +RUN yarn global add elm elm-test uglify-js +COPY ./frontend/build.sh ./build.sh COPY ./frontend/elm.json ./elm.json COPY ./frontend/src ./src COPY ./frontend/tests ./tests -RUN elm make --optimize src/Main.elm +RUN elm-test +RUN ./build.sh FROM ekidd/rust-musl-builder:stable as backend