summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-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