Initial template creation

This commit is contained in:
GitLab
2019-03-06 09:52:24 +01:00
committed by Jason Lenny
commit bcdfbfd57c
11 changed files with 512 additions and 0 deletions

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM maven:3-jdk-8-alpine
WORKDIR /usr/src/app
COPY . /usr/src/app
RUN mvn package
ENV PORT 5000
EXPOSE $PORT
CMD [ "sh", "-c", "mvn -Dserver.port=${PORT} spring-boot:run" ]