Skip to content

Commit ee41280

Browse files
author
Enes Açıkoğlu
committed
docker file added.
1 parent 1f10333 commit ee41280

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM openjdk:8-jdk-alpine
2+
3+
VOLUME /tmp
4+
ADD target/KotlinSpringBootApi-*.jar kotlin-api.jar
5+
EXPOSE 8080
6+
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/kotlin-api.jar"]

src/main/resources/application.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,7 @@ spring:
1616
swagger:
1717
host:
1818
url: localhost:8080
19-
path:
19+
path:
20+
21+
server:
22+
port: 8080

0 commit comments

Comments
 (0)