Skip to content

Commit

Permalink
builscript
Browse files Browse the repository at this point in the history
  • Loading branch information
NkosiMlaba committed Oct 8, 2024
1 parent 2e125cf commit e4b3606
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ FROM maven:latest

RUN apt-get update && apt-get install -y sqlite3 make

RUN make build-no-tests

WORKDIR /app
RUN make build-no-tests && ls -a

COPY target/weshare-mvc-exercise-1.0-SNAPSHOT-webapi-jar-with-dependencies.jar /app/weshare-webapi.jar

WORKDIR /app

EXPOSE 5050

ENTRYPOINT ["java", "-jar", "weshare-webapi.jar"]
Expand Down

0 comments on commit e4b3606

Please sign in to comment.