Commit bc4da9a1b2c74f3fffe6a5cebb773e903759d8b9

Authored by Paul Brodner
1 parent fcc0b08c55
Exists in master

update docker file

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
1 FROM java:8 1 FROM java:8
2 2
3 # Install maven 3 # Install maven
4 RUN apt-get update 4 RUN apt-get update
5 RUN apt-get install -y maven 5 RUN apt-get install -y maven
6 6
7 WORKDIR /code 7 WORKDIR /code
8 8
9 ADD . /code 9 ADD . /code
10 ADD settings.xml /root/.m2/settings.xml
11 ADD settings-security.xml /root/.m2/settings-security.xml
12 RUN ls -la ~/.m2
10 EXPOSE 8080 13 EXPOSE 8080
11 14
12 CMD ["mvn", "exec:java"] 15 CMD ["mvn", "exec:java"]
13 16
14 17