* Merging all my junk together. * Add more junk from other repos. * Fix missing hadolint. * Fixed names * Somehow, I missed out a lot of components * More jiggery pokery * More jiggery pokery * Ignore some hadolint warnings * Maybe fix build? * Split back up php Dockerfile. * dockerfile->file * Flavours environment issues * Fix flavours? * remove onbuilds. * Might be these quotes tripping it up. * Try without caching/buildx/qemu * OK it needs caching/buildx/qemu lol * remove build cache. * Put build caching back * Add octoprint bits * Add pulls. * Fix build order + linter. * rejig multistage builder to make hadolint happy(ier)
6 lines
No EOL
207 B
Bash
6 lines
No EOL
207 B
Bash
#!/usr/bin/env bash
|
|
WP_ROOT="${WP_ROOT:-/app}"
|
|
sed -i "s|root .*|root ${WP_ROOT};|" /etc/nginx/sites-enabled/default
|
|
sed -i "s|root .*|root ${WP_ROOT};|" /etc/nginx/sites-enabled/default-ssl
|
|
|
|
/usr/sbin/nginx |