diff options
Diffstat (limited to 'cmso-database/docker')
-rw-r--r-- | cmso-database/docker/Dockerfile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cmso-database/docker/Dockerfile b/cmso-database/docker/Dockerfile new file mode 100644 index 0000000..40251ec --- /dev/null +++ b/cmso-database/docker/Dockerfile @@ -0,0 +1,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"]
\ No newline at end of file |