This repository was archived by the owner on Feb 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ docker:
34
34
before_script :
35
35
- echo $DOCKER_PASS | docker login -u $DOCKER_USER --password-stdin
36
36
script :
37
- - docker build -t betagouv/mrs:$CI_COMMIT_SHA --build-arg GIT_COMMIT=$CI_COMMIT_SHA .
37
+ - docker build --shm-size 256M - t betagouv/mrs:$CI_COMMIT_SHA --build-arg GIT_COMMIT=$CI_COMMIT_SHA .
38
38
- docker push betagouv/mrs:$CI_COMMIT_SHA
39
39
- docker tag betagouv/mrs:$CI_COMMIT_SHA betagouv/mrs:$CI_COMMIT_REF_NAME
40
40
- docker push betagouv/mrs:$CI_COMMIT_REF_NAME
Original file line number Diff line number Diff line change @@ -24,10 +24,9 @@ USER app
24
24
RUN mkdir -p ${STATIC_ROOT} ${UWSGI_SPOOLER_MOUNT} ${LOG}
25
25
26
26
COPY --chown=app:app yarn.lock .babelrc package.json /app/
27
- RUN cd /app && yarn install --frozen-lockfile
27
+ RUN cd /app && yarn install --cache-folder /dev/shm/yarn -- frozen-lockfile
28
28
RUN mkdir -p src/mrs
29
29
COPY --chown=app:app src/mrs/static /app/src/mrs/static
30
- RUN ls -l | grep src
31
30
COPY --chown=app:app webpack.config.js /app/
32
31
RUN cd /app && yarn prepare
33
32
You can’t perform that action at this time.
0 commit comments