X Tutup
Skip to content

Commit a088048

Browse files
committed
Adding docker file
1 parent dd2fd43 commit a088048

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docker/Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM java:8
2+
MAINTAINER "Spencer Bliven"
3+
RUN apt-get -y clean && apt-get -y update && apt-get -y update && apt-get install -y --fix-missing git maven
4+
RUN update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
5+
WORKDIR /usr/src
6+
RUN git clone "https://github.com/biojava/biojava" biojava
7+
RUN git clone "https://github.com/biojava/biojava-http" biojava-http
8+
WORKDIR /usr/src/biojava
9+
RUN mvn install -DskipTests
10+
WORKDIR /usr/src/biojava-http
11+
RUN mvn install -DskipTests
12+
#CMD java -version
13+
EXPOSE 8080
14+
CMD java -jar target/biojava-http-full*.jar

0 commit comments

Comments
 (0)
X Tutup