Skip to content

Commit e2b7d81

Browse files
jaisontjcoco98
authored andcommitted
Improves java-spark docs and adds docker-config (#45)
* Added Comment * Added Config
1 parent 0e741e9 commit e2b7d81

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

java-spark/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ WORKDIR /spark
88
Add . /spark
99

1010
RUN mvn package
11+
#Replace target/java-spark-jar-with-dependencies.jar with the name and description specified by the maven-assembly-plugin in your pom.xml
1112
CMD ["/usr/lib/jvm/java-8-openjdk-amd64/bin/java", "-jar", "target/java-spark-jar-with-dependencies.jar"]
1213

java-spark/docker-config.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
image: "java:<tag>"
2+
port: 8080
3+
volume_mounts: null
4+
env_variables: ["PORT"]

0 commit comments

Comments
 (0)