aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: 7b4d2bc79f2e9297acfed01ca7dd9ac25c2f698e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM maven:3-jdk-8
RUN apt-get update && apt-get install -y sendmail

WORKDIR /opt/sch
ADD . /opt/sch
RUN mvn clean package

# TODO: This is bogus. This is simply to be used for Registrator registration.
EXPOSE 65000

COPY startSCH.sh /opt/sch
RUN chmod +x /opt/sch/startSCH.sh
CMD ["/opt/sch/startSCH.sh"]