Springify and dockerize project #1

Merged
lsmyrnaios merged 13 commits from antonis.lempesis/UrlsController:master into springify_project 2022-02-01 19:51:50 +01:00
1 changed files with 11 additions and 0 deletions
Showing only changes of commit 3da6fd98e9 - Show all commits

11
Dockerfile Normal file
View File

@ -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"]