|
|
@ -4,9 +4,10 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
|
|
|
cd $DIR |
|
|
|
unset DIR |
|
|
|
|
|
|
|
# Set image tag in Compose to avoid image build |
|
|
|
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 |
|
|
|
# Info: Docker image name is already set in previous scripts |
|
|
|
## Set image tag in Compose to avoid image build |
|
|
|
#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 |
|
|
|
|
|
|
|
# Load docker images |
|
|
|
docker image load -i doccano-backend.tar |
|
|
|