diff options
| author | Shyam Sunder <sgsunder1@gmail.com> | 2018-09-04 21:55:59 -0400 |
|---|---|---|
| committer | rr- <rr-@sakuya.pl> | 2018-12-22 12:31:25 +0100 |
| commit | 7081b5be9075c3385f33a9a9c053fd6f36f0cd18 (patch) | |
| tree | 4e2745e83f671f17ad1b078028a816382307110b /client/Dockerfile | |
| parent | 116919d2a2caaad544c15fcdcb69f61820828c84 (diff) | |
client/app: Fixed relative links in app manifest
Diffstat (limited to 'client/Dockerfile')
| -rw-r--r-- | client/Dockerfile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/client/Dockerfile b/client/Dockerfile index a3d0ffc..94ab800 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -17,9 +17,8 @@ WORKDIR /var/www RUN \ # Create init file echo "#!/bin/sh" >> /init && \ - echo 'sed -i "s|__BACKEND__|${BACKEND_HOST}|" /etc/nginx/nginx.conf' \ - >> /init && \ - echo 'sed -i "s|__BASEURL__|${BASE_URL:-/}|" /var/www/index.htm' >> /init && \ + echo 'sed -i "s|__BACKEND__|${BACKEND_HOST}|" /etc/nginx/nginx.conf' >> /init && \ + echo 'sed -i "s|__BASEURL__|${BASE_URL:-/}|g" /var/www/index.htm /var/www/manifest.json' >> /init && \ echo 'exec nginx' >> /init && \ chmod a+x /init |