summaryrefslogtreecommitdiffstats
path: root/cmso-database/docker/Dockerfile
blob: 40251ecc2825a98fc24e0376b2806811c4df0c26 (plain)
1
2
3
4
5
6
7
8
9
10
11
FROM anapsix/alpine-java:8_jdk

ENV DBUPGRADE_HOME=/opt/app/dbupgrade

VOLUME /volume/config
VOLUME /volume/logs

ADD target/docker-liquibase.jar ${DBUPGRADE_HOME}/lib/docker-liquibase.jar
ADD bin ${DBUPGRADE_HOME}/bin

ENTRYPOINT ["/bin/bash", "-x", "/opt/app/dbupgrade/bin/docker_start.sh"]