develop #22

Merged
william merged 44 commits from develop into master 2021-12-14 23:59:36 -05:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 59a8e98e40 - Show all commits

View File

@ -1,11 +1,11 @@
ARG GRADLE_VERSION=7.1
ARG JAVA_VERSION=11
ARG CRE_VERSION=dev
FROM gradle:$GRADLE_VERSION-jdk$JAVA_VERSION AS build
WORKDIR /usr/src
COPY . .
ARG CRE_VERSION=dev
RUN gradle bootJar -Pversion=$CRE_VERSION
FROM alpine:latest
@ -15,7 +15,7 @@ ARG JAVA_VERSION
RUN apk add --no-cache openjdk$JAVA_VERSION
ARG CRE_VERSION
COPY --from=build /usr/src/build/libs/ColorRecipesExplorer.jar ColorRecipesExplorer.jar
COPY --from=build /usr/src/build/libs/ColorRecipesExplorer-$CRE_VERSION.jar ColorRecipesExplorer.jar
ARG CRE_PORT=9090
EXPOSE $CRE_PORT