Replace the version-specific Dockerfiles with one staged Dockerfile

This commit is contained in:
Jyri-Petteri Paloposki 2024-07-18 17:12:31 +03:00
parent 5940fe10a6
commit ff5adc5696
19 changed files with 75 additions and 271 deletions

View file

@ -8,7 +8,9 @@ services:
volumes:
- db-data:/var/lib/mysql
web:
build: .
build:
context: .
target: production # can also be development or test
environment:
# These are set in script/ci-build, so we need to pass-thru them.
RAILS_ENV: $RAILS_ENV