mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 09:01:03 -08:00
chore: introduce BACKEND_URL for docker deployment
This commit is contained in:
1 parent
8c1a525001
commit
7a4bce7c31
2 files changed
+4
-4
No files matched your search
+1
-1
@@ -28,4 +28,4 @@ FROM nginx:stable-alpine
|
||||
COPY --from=build /usr/src/app/dist/ /usr/share/nginx/html
|
||||
COPY --from=build /usr/src/app/docker/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
CMD sed -i "s/localhost:3333/localhost:$BACKEND_PORT/g" /usr/share/nginx/html/main.*.js && nginx -g 'daemon off;'
|
||||
CMD sed -i "s#http://localhost:3333#$BACKEND_URL#g" /usr/share/nginx/html/main.*.js && nginx -g 'daemon off;'
|
||||
Reference in new issue
Block a user