UrlsController/Dockerfile

12 lines
269 B
Docker
Raw Normal View History

2022-01-31 03:21:31 +01:00
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"]