forked from lsmyrnaios/UrlsController
added Dockerfile
This commit is contained in:
parent
6dde8c0faa
commit
3da6fd98e9
|
@ -0,0 +1,11 @@
|
||||||
|
FROM openjdk:8-jdk-alpine
|
||||||
|
|
||||||
|
VOLUME /tmp
|
||||||
|
VOLUME /mnt/config
|
||||||
|
VOLUME /mnt/logs
|
||||||
|
|
||||||
|
COPY build/libs/*-SNAPSHOT.jar app.jar
|
||||||
|
|
||||||
|
RUN ln -s /mnt/config/application.properties ./application.properties
|
||||||
|
|
||||||
|
ENTRYPOINT ["java","-jar","/app.jar", "--config.location=application.properties"]
|
Loading…
Reference in New Issue