-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
19 lines (19 loc) · 758 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM openjdk:20-ea-28-jdk-slim
ENV DATASOURCE_URL=0\
DATASOURCE_USER=0\
DATASOURCE_PASSWORD=0\
KEY_SET_URI=0\
ACCESS_TOKEN_URI=0\
USER_AUTH_URI=0\
REALM=0\
AUTH_SERVER_URI=0\
SECRET=0\
ENVIRONMENT=0\
OAUTH_USERNAME=0\
OAUTH_PASSWORD=0
VOLUME /tmp
EXPOSE 8080
ADD /target/user-api.jar user-api.jar
ADD startup.sh /startup.sh
CMD /startup.sh
# ENTRYPOINT ["java", "[email protected]", "-Dcom.okta.sdk.impl.http.httpclient.HttpClientRequestExecutor.connPoolControl.maxTotal=200", "-Dcom.okta.sdk.impl.http.httpclient.HttpClientRequestExecutor.connPoolControl.maxPerRoute=1", "-Dspring.profiles.active=dev", "-Dserver.ssl.key-store-password=", "-jar", "/user-api.jar"]