stupid fucking build
This commit is contained in:
parent
d0e5eccafd
commit
e0b3073930
@ -6,7 +6,7 @@ RUN apk add --update jq && rm -rf /var/cache/apk/*
|
||||
COPY package.json yarn.lock ./
|
||||
|
||||
## Storing node modules on a separate layer will prevent unnecessary npm installs at each build
|
||||
RUN yarn install && mkdir /ng-app && mv ./node_modules ./ng-app
|
||||
RUN yarn install --verbose && mkdir /ng-app && mv ./node_modules ./ng-app
|
||||
|
||||
WORKDIR /ng-app
|
||||
|
||||
@ -24,7 +24,7 @@ COPY paligo-styles paligo-styles
|
||||
|
||||
## Build the angular app in production mode and store the artifacts in dist folder
|
||||
RUN yarn lint
|
||||
RUN yarn build --configuration production --project=red-ui --base-href /ui/
|
||||
RUN yarn build --configuration production --project=red-ui --base-href /ui/ --verbose
|
||||
RUN yarn run build-paligo-styles
|
||||
CMD ["/bin/cp", "-r", "/ng-app/dist/paligo-styles", "/tmp/styles-export"]
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user