#DB Connection required for payload build

3 messages · Page 1 of 1 (latest)

low craterBOT
bold grove
#

Ok, brushing up on docker I found that to build the docker image requires defining the network where the local database is located so that it can access it during the build process. Using host will give the build process regular access to the local network environment eg.
docker build --network=host -t website-name .

bold grove
#

I will mark this as solved and start a github discussion regarding whether the build process can run without touching a database.