Skip to content

Commit

Permalink
Add in WORKDIR to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
pflooky committed Jun 14, 2024
1 parent b82716a commit 0025f23
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM openjdk:24-slim

COPY server/target/unitycatalog-server*.jar /opt/app/unitycatalog-server.jar
COPY examples/cli/target/unitycatalog-cli*.jar /opt/app/unitycatalog-cli.jar
COPY etc /opt/app/etc
WORKDIR /opt/app

ENTRYPOINT ["java", "-cp", "/opt/app/unitycatalog-server.jar", "io.unitycatalog.server.UnityCatalogServer"]
COPY server/target/unitycatalog-server*.jar unitycatalog-server.jar
COPY examples/cli/target/unitycatalog-cli*.jar unitycatalog-cli.jar
COPY etc .

ENTRYPOINT ["java", "-cp", "unitycatalog-server.jar", "io.unitycatalog.server.UnityCatalogServer"]

0 comments on commit 0025f23

Please sign in to comment.