Skip to content
Permalink
Browse files
Merge pull request #8 from Anh3h/develop
Add Docker configuration
  • Loading branch information
myrle-krantz committed Mar 9, 2019
2 parents 7f9842b + a620a3e commit 6f8498d3330b8bde0101f470b4d42ff3e307f93a
Showing 3 changed files with 32 additions and 1 deletion.
@@ -0,0 +1,17 @@
api/
component-test/
gradle/
gradlew.bat
LICENSE
README.md
settings.gradle
build.gradle
docs/
gradlew
HEADER
NOTICE.txt
service/
.git/
.gradle/
.gitignore
shared.gradle
@@ -14,4 +14,6 @@ gradle-app.setting

*.log

*.toDelete
*.toDelete

*.jar
@@ -0,0 +1,12 @@
FROM openjdk:8-jdk-alpine

ARG identity_port=2021

ENV server.max-http-header-size=16384 \
cassandra.clusterName="Test Cluster" \
server.port=$identity_port

WORKDIR /tmp
COPY identity-service-boot-0.1.0-BUILD-SNAPSHOT.jar .

CMD ["java", "-jar", "identity-service-boot-0.1.0-BUILD-SNAPSHOT.jar"]

0 comments on commit 6f8498d

Please sign in to comment.