Skip to content

Commit

Permalink
dockerfile added
Browse files Browse the repository at this point in the history
  • Loading branch information
imertetsu committed Aug 13, 2024
1 parent 704f7ea commit 94a4b0c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM openjdk:17-jdk-alpine

COPY build/libs/SpacecraftEvents-0.0.1.jar /app/

WORKDIR /app

EXPOSE 8083

ENTRYPOINT ["java", "-jar", "SpacecraftEvents-0.0.1.jar"]
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = 'com.spacecraft'
version = '0.0.1-SNAPSHOT'
version = '0.0.1'

java {
toolchain {
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
spring.application.name=SpacecraftEvents
server.servlet.context-path=/api
server.port=8083

0 comments on commit 94a4b0c

Please sign in to comment.