Commit 18bfb469 authored by Artem Baranovskyi's avatar Artem Baranovskyi
Browse files

Image build is optimized.

parent 53b401f1
Pipeline #10601 failed with stage
in 48 seconds
......@@ -25,12 +25,12 @@ build:
before_script:
- export DOCKER_TMPDIR=/mnt/volume
- docker system prune -a -f
- docker volume prune -f
- df -h
- ls -la /mnt/volume
script:
- docker build --no-cache --pull --progress=plain -t flask-backend-full -f flask_ml_api/Dockerfile .
cache:
key: build-cache
paths:
- /mnt/volume
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