Dockerfile 344 Bytes
Newer Older
Jonathan L Longman's avatar
Jonathan L Longman committed
1 2 3
FROM ubuntu:latest

RUN apt-get -y update \
Luke Texon's avatar
Luke Texon committed
4
&& apt-get -y install git maven openjdk-11-jre openjdk-11-jdk pandoc ruby=1:2.5.1 curl 
Luke Texon's avatar
Luke Texon committed
5
RUN gem install dpl-heroku -v 1.10.14
6

7
COPY src /src
8 9
COPY system.properties /system.properties
COPY pom.xml /pom.xml
Jonathan L Longman's avatar
Jonathan L Longman committed
10 11

RUN mvn package
Luke Texon's avatar
Luke Texon committed
12
ENV PATH /var/lib/ruby/2.5.0/bin:$PATH
Luke Texon's avatar
Luke Texon committed
13 14

CMD ["sh", "target/bin/simplewebapp"]