Skip to content
Snippets Groups Projects
Commit 515f18b8 authored by Imre Toth's avatar Imre Toth
Browse files

Merge branch 'CE-2003_Fix_using_mui_license_key' into 'develop'

CE-2003: Fix using MUI license key

See merge request !369
parents 34ee3ae6 5c2d1640
No related branches found
No related tags found
2 merge requests!407CE-2141: 3.0.0,!369CE-2003: Fix using MUI license key
Pipeline #160930 passed
......@@ -80,7 +80,7 @@ build-image:
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script:
- docker build -t $CONTAINER_IMAGE .
- docker build -t $CONTAINER_IMAGE --build-arg REACT_APP_MUI_PRO_LICENSE_KEY=${REACT_APP_MUI_PRO_LICENSE_KEY} .
- docker push $CONTAINER_IMAGE
release-image:
......
# build CE deploy & monitor Frontend
FROM node:16.14.0 as builder
ARG REACT_APP_MUI_PRO_LICENSE_KEY
RUN mkdir /usr/src/app
WORKDIR /usr/src/app
ENV PATH /usr/src/app/node_modules/.bin:$PATH
......@@ -10,7 +11,7 @@ RUN npm ci
ENV PUBLIC_URL "/"
ENV REACT_APP_LOGIN_METHOD "STD"
RUN npm run build
RUN REACT_APP_MUI_PRO_LICENSE_KEY=${REACT_APP_MUI_PRO_LICENSE_KEY} npm run build
# production environment
FROM nginx:1.19.6-alpine
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment