Only build container as far as production

This commit is contained in:
Jake Howard 2022-08-03 22:39:11 +01:00
parent 4917a0fd95
commit 21fb994445
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -48,7 +48,7 @@ container:
DOCKER_BUILDKIT: 1
stage: test
script:
- docker build -t website .
- docker build -t website --target production .
.python_test_template: &python_test_template
image: python:3.10