mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 09:01:03 -08:00
fix: update Dockerfile and GitHub Actions workflow
Update the CMD instruction in the Dockerfile to target main.js instead of main-*.js for better specificity. Modify the tag and release names in the GitHub Actions workflow to follow a consistent naming convention, ensuring clarity in versioning.
This commit is contained in:
1 parent
6eab035b42
commit
2259e1116c
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -29,4 +29,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#http://localhost:3333#$BACKEND_URL#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