2020-03-11 16:35:04 +00:00
|
|
|
FROM openjdk:13-jdk-alpine
|
2020-03-25 13:57:46 +00:00
|
|
|
|
2020-03-11 16:35:04 +00:00
|
|
|
ARG JAR_FILE=build/libs/smarthut*.jar
|
2020-03-25 13:57:46 +00:00
|
|
|
|
2020-03-11 16:35:04 +00:00
|
|
|
COPY ${JAR_FILE} app.jar
|
2020-03-25 13:57:46 +00:00
|
|
|
|
|
|
|
ENV SMARTHUT_THIS_VALUE_IS_PROD_IF_THIS_IS_A_CONTAINER_PIZZOCCHERI=prod
|
2020-03-11 16:35:04 +00:00
|
|
|
EXPOSE 8080
|
|
|
|
ENTRYPOINT ["java","-jar","/app.jar"]
|