From 4dc3fad14e8fe9eba113064700ba091b1a0c6a9d Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Wed, 5 May 2021 15:21:06 +0200 Subject: build: Use web runner from main distribution in Docker image This change updates the main Docker image to copy the main distribution into the Docker image and use the web runner from there. --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index d103788d..cc7649fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,9 +9,9 @@ RUN ./gradlew --version # Build project COPY ./ /app/ -RUN ./gradlew --no-daemon :opendc-web:opendc-web-runner:installDist +RUN ./gradlew --no-daemon :installDist FROM openjdk:15-slim -COPY --from=0 /app/opendc-web/opendc-web-runner/build/install /app -WORKDIR /app -CMD opendc-web-runner/bin/opendc-web-runner +COPY --from=0 /app/build/install /opt/ +WORKDIR /opt/opendc +CMD bin/opendc-web-runner -- cgit v1.2.3