summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-05-05 15:21:06 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2021-05-05 15:21:06 +0200
commit4dc3fad14e8fe9eba113064700ba091b1a0c6a9d (patch)
tree643f7b2412f02c85c54ce36c426ef50f78ea3efc
parente8bb95cb35ed1b02a85cf7cbea5bfc20fe0324c2 (diff)
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.
-rw-r--r--Dockerfile8
1 files changed, 4 insertions, 4 deletions
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