Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
skodapetr committed Jan 24, 2024
1 parent 926ea2c commit 4b063dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM openjdk:21-slim-bookworm as build
WORKDIR /opt/ms-adapter/
COPY ./ ./
RUN ./mvnw package

RUN chmod u+x ./mvnw && ./mvnw package

FROM openjdk:21-slim-bookworm
COPY --from=build --chown=user /opt/ms-adapter/dist /opt/ms-adapter/

0 comments on commit 4b063dd

Please sign in to comment.