Skip to content

Commit

Permalink
added 512mb limitation per free heroku request
Browse files Browse the repository at this point in the history
  • Loading branch information
ichbinorange committed Feb 15, 2021
1 parent c6d71ec commit b248628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ VOLUME /tmp
ARG JAR_FILE=build/libs/\*.jar
COPY ${JAR_FILE} app.jar

ENTRYPOINT ["java", "-Dspring.security.oauth2.client.registration.google.client-id='${GOOGLE_OAUTH_CLIENT_ID}'", "-Dspring.security.oauth2.client.registration.google.client-secret='${GOOGLE_OAUTH_CLIENT_SECRET}'","-Dspring.datasource.url='${HEROKU_PSQLDB}'","-Dserver.port=$PORT","-jar","/app.jar"]
ENTRYPOINT ["java", "-XX:+UseContainerSupport","-Xss512k","-Xmx300m","-Dspring.security.oauth2.client.registration.google.client-id='${GOOGLE_OAUTH_CLIENT_ID}'", "-Dspring.security.oauth2.client.registration.google.client-secret='${GOOGLE_OAUTH_CLIENT_SECRET}'","-Dspring.datasource.url='${HEROKU_PSQLDB}'","-Dserver.port=$PORT","-jar","/app.jar"]

EXPOSE $PORT

0 comments on commit b248628

Please sign in to comment.