copy cached node_modules;
This commit is contained in:
parent
2f0d70081f
commit
db72e8b496
@ -132,6 +132,11 @@ docker-build-fe:
|
|||||||
script:
|
script:
|
||||||
- docker-compose build waecm_g4_fe
|
- docker-compose build waecm_g4_fe
|
||||||
- docker save -o waecm_g4_fe ${DOCKER_USER}/${ASSIGNMENT}-fe
|
- docker save -o waecm_g4_fe ${DOCKER_USER}/${ASSIGNMENT}-fe
|
||||||
|
cache:
|
||||||
|
key: $CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR
|
||||||
|
paths:
|
||||||
|
- frontend/node_modules/
|
||||||
|
policy: pull
|
||||||
extends:
|
extends:
|
||||||
- .docker-build
|
- .docker-build
|
||||||
- .docker-setup
|
- .docker-setup
|
||||||
|
|||||||
@ -1,2 +1 @@
|
|||||||
dist
|
dist
|
||||||
node_modules
|
|
||||||
|
|||||||
@ -5,6 +5,7 @@ FROM node:alpine
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
RUN ls -l; ls -l ./node_modules
|
||||||
|
|
||||||
RUN npm install && npm install chokidar --save
|
RUN npm install && npm install chokidar --save
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user