Browse Source

Fix wrong path for frontend

pull/1322/head
Johann Frei 3 years ago
parent
commit
b076d6bbf1
1 changed files with 1 additions and 1 deletions
  1. 2
      offline_deployment/offline_01_2-patch_and_extract_Docker_images.sh

2
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 # 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\
RUN apk add -U --no-cache py3-requests \\\ 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 FROM nginx|' ../nginx/Dockerfile

Loading…
Cancel
Save