Commit da508418 authored by rajkumar's avatar rajkumar
Browse files

Adding context path

parent d88dee45
Pipeline #278509 failed with stages
in 48 seconds
......@@ -22,7 +22,7 @@ docker-build-dev:
- triggers
script:
- docker login $CI_REGISTRY -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD
- docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG --build-arg configuration=dev --base-href="/ena/dev/submit/webin" --deploy-url="/ena/dev/submit/webin" .
- docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG --build-arg configuration=dev context=/ena/dev/submit/webin .
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
docker-build-test:
......
......@@ -5,7 +5,7 @@ COPY package.json package-lock.json ./
RUN npm install
COPY . .
ARG configuration
RUN node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --configuration $configuration
RUN node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --configuration $configuration --base-href=$context --deploy-url=$contect --build-arg
### STAGE 2: Run ###
FROM nginx:1.17.1-alpine
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment