Skip to content

Commit

Permalink
feat: added env to dockerfile (#405)
Browse files Browse the repository at this point in the history
* feat: added env to dockerfile

* fix: format
  • Loading branch information
JordenReuter authored Nov 13, 2024
1 parent 08a6c93 commit 65429f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ COPY nginx/locations.conf $DIR_LOCATION/locations.conf
COPY dist/onecx-shell-ui/ $DIR_HTML

# Optional extend list of application environments
ENV CONFIG_ENV_LIST BFF_URL,APP_BASE_HREF,CORS_ENABLED,APP_VERSION,APP_ID,PRODUCT_NAME,AUTH_SERVICE,AUTH_SERVICE_CUSTOM_URL,AUTH_SERVICE_CUSTOM_MODULE_NAME,AUTH_SERVICE_CUSTOM_BFF_URL
ENV CONFIG_ENV_LIST BFF_URL,APP_BASE_HREF,CORS_ENABLED,APP_VERSION,APP_ID,PRODUCT_NAME,AUTH_SERVICE,AUTH_SERVICE_CUSTOM_URL,AUTH_SERVICE_CUSTOM_MODULE_NAME,AUTH_SERVICE_CUSTOM_BFF_URL,ONECX_PORTAL_SEARCH_BUTTONS_REVERSED

# Application environments default values
ENV BFF_URL http://onecx-shell-bff:8080/
Expand All @@ -17,6 +17,7 @@ ENV AUTH_SERVICE keycloak
ENV AUTH_SERVICE_CUSTOM_URL ''
ENV AUTH_SERVICE_CUSTOM_MODULE_NAME ''
ENV AUTH_SERVICE_CUSTOM_BFF_URL ''
ENV ONECX_PORTAL_SEARCH_BUTTONS_REVERSED 'false'

RUN chmod 775 -R "$DIR_HTML"/assets
USER 1001

0 comments on commit 65429f2

Please sign in to comment.