From b076d6bbf1e3a0f8336d29e1c4d7d74bf4a35229 Mon Sep 17 00:00:00 2001 From: Johann Frei Date: Wed, 21 Apr 2021 21:43:04 +0200 Subject: [PATCH] Fix wrong path for frontend --- .../offline_01_2-patch_and_extract_Docker_images.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/offline_deployment/offline_01_2-patch_and_extract_Docker_images.sh b/offline_deployment/offline_01_2-patch_and_extract_Docker_images.sh index 70933f05..29aa4d8c 100755 --- a/offline_deployment/offline_01_2-patch_and_extract_Docker_images.sh +++ b/offline_deployment/offline_01_2-patch_and_extract_Docker_images.sh @@ -14,7 +14,7 @@ sed -i 's^dockerfile: nginx/Dockerfile^dockerfile: nginx/Dockerfile\n image: # Modify Dockerfile for nginx to add python3 and offline patch sed -i 's|FROM nginx|COPY offline_deployment/offline_patcher.py /patch.py\ RUN apk add -U --no-cache py3-requests \\\ - \&\& mkdir -p /backend/dist/offline \&\& python3 /patch.py /backend/dist /backend/dist/offline /offline\ + \&\& mkdir -p /app/dist/offline \&\& python3 /patch.py /app/dist /app/dist/offline /offline\ \ FROM nginx|' ../nginx/Dockerfile