Commit 8476c3a3 authored by Artem Baranovskyi's avatar Artem Baranovskyi
Browse files

Image build is optimized.

parent 09fd2cdc
Pipeline #10695 failed with stages
in 2 seconds
...@@ -19,7 +19,7 @@ variables: ...@@ -19,7 +19,7 @@ variables:
DOCKER_TLS_CERTDIR: "" DOCKER_TLS_CERTDIR: ""
DOCKER_HOST: "unix:///var/run/docker.sock" DOCKER_HOST: "unix:///var/run/docker.sock"
DOCKER_OPTS: "--data-root=/mnt/volume/docker-data" DOCKER_OPTS: "--data-root=/mnt/volume/docker-data"
DOCKER_MEMORY: "3g" DOCKER_MEMORY: "5g"
DOCKER_CPUS: "2" DOCKER_CPUS: "2"
build: build:
...@@ -51,7 +51,7 @@ build: ...@@ -51,7 +51,7 @@ build:
- df -h - df -h
- free -h - free -h
- top -b -n 1 - top -b -n 1
- docker save -o /mnt/volume/flask-backend-full.tar flask-backend-full - docker save flask-backend-full -o /mnt/volume/flask-backend-full.tar
artifacts: artifacts:
paths: paths:
- /mnt/volume/flask-backend-full.tar - /mnt/volume/flask-backend-full.tar
......
Supports Markdown
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