[Bug] [Admin Panel] Strict MIME type checking is enforced for module scripts per HTML spec.
Search before asking
- [X] I had searched in the issues and found no similar issues.
What happened
下载3.1.3版本的代码,尝试在本机使用docker-compose部署,已经部署成功。
但在打开admin页面时,页面空白,出现报错。

What you expected to happen
正常打开面板
How to reproduce
3.1.3版本,根据docker-compose进行部署,即可复现。
Anything else
No response
Version
3.1.x
Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Search before asking
- [X] I had searched in the issues and found no similar issues.
What happened
Download the 3.1.3 version of the code, try to use docker-compose to deploy locally, and the deployment has been successful.
But when the admin page is opened, the page is blank and an error occurs.

What you expected to happen
Open panel normally
How to reproduce
Version 3.1.3 can be reproduced by deploying according to docker-compose.
Anything else
No response
Version
3.1.x
Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
- In order for us to understand your request as soon as possible, please provide detailed information, version or pictures.
- If you haven't received a reply for a long time, you can join our slack and send your question to channel
#troubleshooting
Same here. I meet the same problem with k8s deploymentation.
我使用docker-compose部署也是一样的问题
I have also meet this Problem
+1
try this image
docker pull cccccmd/dolphinscheduler-api:3.1.3-fix-ui
You can also use the Dockerfile to build the image yourself
@SbloodyS @zhongjiajie This problem is due to the docker image located in apache repository is bad. I think we should redistribute docker image as quickly as possible.
Current solution is you could build image using Dockerfile located in dolphin-scheduler source code using the following command: docker build -t dolphin-api:latest -f src/main/docker/Dockerfile . (name dolphin-api just for test)
Emphasize again: The last "." is very important and it specifies the PATH for docker build context.
And I modify docker-compose.yaml like follows:
The dolphin login page display normally.
I think one possible problem is when building dolphinscheduler-api image it has used the previously generated front-end files(NPM would always change the resource name for each build process). @SbloodyS Please rebuild the image like what I did and redistribute it!
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.