Skip to content

Commit

Permalink
Docker image created
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishabh2804 committed Nov 14, 2023
1 parent d3ca392 commit d4e0b34
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM openjdk:20-jdk
LABEL authors="Rishabh"

EXPOSE 8080

WORKDIR /app

COPY run.sh .
COPY build/libs/ZenTarea-0.0.1-SNAPSHOT.jar /app/zentarea.jar

ENTRYPOINT ["sh", "run.sh"]
1 change: 1 addition & 0 deletions run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
exec java -jar zentarea.jar

0 comments on commit d4e0b34

Please sign in to comment.