6 lines
226 B
Bash
Executable File
6 lines
226 B
Bash
Executable File
# Update Dockerfile to use the nginx.conf
|
|
if [ -f frontend/Dockerfile ]; then
|
|
if ! grep -q "nginx.conf" frontend/Dockerfile; then
|
|
sed -i '/CMD/i COPY nginx.conf /etc/nginx/conf.d/default.conf' frontend/Dockerfile
|
|
fi
|
|
fi |