Skip to content
Snippets Groups Projects
Commit 3439ba57 authored by DewanaGustavus's avatar DewanaGustavus
Browse files

chore: docker jar build

parent 7d9a61a1
Branches
Tags
No related merge requests found
......@@ -8,6 +8,6 @@ RUN mvn clean install assembly:single
FROM amazoncorretto:8
WORKDIR /soap
COPY --from=build /build/target .
COPY --from=build /build/target/soap-service-jar-with-dependencies.jar .
EXPOSE 6001
ENTRYPOINT ["java", "-jar", "target/soap-service-jar-with-dependencies.jar"]
\ No newline at end of file
ENTRYPOINT ["java", "-jar", "soap-service-jar-with-dependencies.jar"]
\ No newline at end of file
......@@ -6,10 +6,7 @@ services:
- 6001:6001
env_file: .env
build:
context: .
dockerfile: Dockerfile
volumes:
- '.:/soap'
depends_on:
- mysql
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment