diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index db825e3..42f0d29 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,8 +38,8 @@ jobs: - name: Build image (base) run: docker build --target base -t base . - - name: Build (front) - run: docker build --target websh_front_builder . + - name: Build javascript + run: docker run --rm -v $PWD/websh_front:/work -t base nimble build -Y - name: Test (server) run: docker run --rm -v $PWD/websh_server:/work -t base nimble test -Y diff --git a/Dockerfile b/Dockerfile index b7aa7fe..d306b69 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,10 +23,6 @@ WORKDIR /work # builder stages ################################################################################ -FROM base AS websh_front_builder -COPY websh_front/ /work -RUN nimble build -Y - FROM base AS websh_server_builder COPY websh_server/ /work RUN nimble build -Y -d:release