Skip to content

Commit 891c800

Browse files
committed
reaadded spring profile
1 parent 9a1296e commit 891c800

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ COPY --from=0 /app/app/build/libs/app-*.jar ./snakebot.jar
1313
# Note: There is a problem with the way this is setup. Ctrl+C will not work.
1414
# Using Spring Boot's environment variable did not work when we tried to use it.
1515
EXPOSE 8080
16-
CMD java -jar -Xms1G snakebot.jar
16+
#CMD java -jar -Xms1G snakebot.jar
1717

18-
#ENV PROFILE development
19-
#CMD java -jar -Xms1G snakebot.jar --spring.profiles.active=${PROFILE}
18+
ENV PROFILE development
19+
CMD java -jar -Xms1G snakebot.jar --spring.profiles.active=${PROFILE}

0 commit comments

Comments
 (0)