Skip to content

Commit

Permalink
πŸ› Add: Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jun108059 committed Oct 3, 2024
1 parent bf3a74c commit d80454b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
docker-compose.yml
Dockerfile

HELP.md
.gradle
Expand Down
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM openjdk:17-jdk-slim

EXPOSE 8080

ARG JAR_FILE=build/libs/*.jar
COPY ${JAR_FILE} weski-app.jar

CMD java -Dserver.port=8080 \
-Dspring.datasource.username=master \
-Dspring.datasource.password=master \
-jar /weski-app.jar

0 comments on commit d80454b

Please sign in to comment.