Skip to content

Commit

Permalink
Fixing wrong -D profile
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonHHouse committed May 11, 2021
1 parent f20f73e commit e3eb307
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6,077 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ FROM adoptopenjdk/openjdk11-openj9:jre-11.0.11_9_openj9-0.26.0
ENV gapsVersion=*
ENV springProfile=no-ssl-no-login
ENV javaInitialHeapSize=150M

ENV baseUrl ""
#ENV baseUrl="/gaps"

EXPOSE 32400
Expand All @@ -38,6 +38,6 @@ ENTRYPOINT java \
-XX:+UseStringCache \
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 \
-jar \
-Dinfo.app.baseUrl=${baseUrl} \
-Dserver.servlet.context-path=${baseUrl} \
-Dspring.profiles.active=${springProfile} \
./GapsWeb-${gapsVersion}.jar
Loading

0 comments on commit e3eb307

Please sign in to comment.