File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ WORKDIR /usr/src/java-code
1212RUN GRADLE_OPTS="-Xmx256m" gradle shadowJar --build-cache --stacktrace --no-daemon
1313
1414FROM openjdk:11
15- RUN mkdir -p /app
16- COPY --from=builder /usr/src/java-code/build/libs/SimilarImagesBot-1.0-all.jar /app/SimilarImagesBot-1.0 -all.jar
17- ENV BOT_TOKEN ''
18- ENV ADMIN_ID 0
19- ENV MODE 'once'
20- CMD java -jar /app/SimilarImagesBot-1.0-all.jar
15+ WORKDIR /app
16+ COPY --from=builder /usr/src/java-code/build/libs/SimilarImagesBot-1.0.1 -all.jar .
17+ ENV BOT_TOKEN '' \
18+ ADMIN_ID 0 \
19+ MODE 'once'
20+ ENTRYPOINT [ " java" , " -jar" , " /app/SimilarImagesBot-1.0.1 -all.jar" ]
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ sourceCompatibility = 11
88targetCompatibility = 11
99mainClassName = ' com.annimon.similarimagesbot.Main'
1010group ' com.annimon'
11- version ' 1.0'
11+ version ' 1.0.1 '
1212
1313repositories {
1414 jcenter()
You can’t perform that action at this time.
0 commit comments