|
@ -9,7 +9,7 @@ echo "Patching docker-compose to match Ubuntu 18.04 compose package" |
|
|
sed -i 's|version: "3.7"|version: "3.3"|g' ../docker-compose.prod.yml |
|
|
sed -i 's|version: "3.7"|version: "3.3"|g' ../docker-compose.prod.yml |
|
|
|
|
|
|
|
|
sed -i 's^dockerfile: backend/Dockerfile.prod^dockerfile: backend/Dockerfile.prod\n image: doccano-backend:custom^g' ../docker-compose.prod.yml |
|
|
sed -i 's^dockerfile: backend/Dockerfile.prod^dockerfile: backend/Dockerfile.prod\n image: doccano-backend:custom^g' ../docker-compose.prod.yml |
|
|
sed -i 's^dockerfile: nginx/Dockerfile^dockerfile: nginx/Dockerfile\n image: doccano-nginx:custom^g' ../docker-compose.prod.yml |
|
|
|
|
|
|
|
|
sed -i 's^dockerfile: nginx/Dockerfile^dockerfile: nginx/Dockerfile\n image: doccano-nginx:custom^g' ../docker-compose.prod.yml |
|
|
|
|
|
|
|
|
# Modify Dockerfile for nginx to add python3 and offline patch |
|
|
# Modify Dockerfile for nginx to add python3 and offline patch |
|
|
sed -i 's|FROM nginx|COPY offline_deployment/offline_patcher.py /patch.py\ |
|
|
sed -i 's|FROM nginx|COPY offline_deployment/offline_patcher.py /patch.py\ |
|
|