Dockerfile fixed: use gradlew instead of gradle to run the version specified in gradle-wrapper.properties

This commit is contained in:
Eugene Simakin 2020-12-27 22:02:36 +03:00
parent 7a4a11530a
commit 0853504fcf

View File

@ -12,7 +12,7 @@ ENV GRADLE_USER_HOME /home/gradle/project
COPY . /home/gradle/project COPY . /home/gradle/project
RUN gradle build RUN ./gradlew build
FROM java:jre-alpine FROM java:jre-alpine