This repository was archived by the owner on Feb 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ docker:
3434 before_script :
3535 - echo $DOCKER_PASS | docker login -u $DOCKER_USER --password-stdin
3636 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 .
3838 - docker push betagouv/mrs:$CI_COMMIT_SHA
3939 - docker tag betagouv/mrs:$CI_COMMIT_SHA betagouv/mrs:$CI_COMMIT_REF_NAME
4040 - docker push betagouv/mrs:$CI_COMMIT_REF_NAME
Original file line number Diff line number Diff line change @@ -24,10 +24,9 @@ USER app
2424RUN mkdir -p ${STATIC_ROOT} ${UWSGI_SPOOLER_MOUNT} ${LOG}
2525
2626COPY --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
2828RUN mkdir -p src/mrs
2929COPY --chown=app:app src/mrs/static /app/src/mrs/static
30- RUN ls -l | grep src
3130COPY --chown=app:app webpack.config.js /app/
3231RUN cd /app && yarn prepare
3332
You can’t perform that action at this time.
0 commit comments