Skip to content
Permalink
Browse files
Add Docker configuration
  • Loading branch information
Anh3h committed Mar 8, 2019
1 parent 5d496da commit 77bb50c95484ca8b656d0a780ffeffa1663aa890
Showing 3 changed files with 31 additions and 0 deletions.
@@ -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
@@ -17,3 +17,5 @@ gradle-app.setting
*.log

*.toDelete

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

ARG office_port=2023

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

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

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

0 comments on commit 77bb50c

Please sign in to comment.