Skip to content

[Bug] After the local docker build, start access to the page report 404 #2510

@simple-yin

Description

@simple-yin

Contact Information

No response

MaxKB Version

latest

Problem Description

在没有改变任何文件的情况下,根目录下执行:
docker build -t maxkb:local -f installer/Dockerfile .
build成功, 然后执行:
docker run -d --name=maxkb --restart=always -p 8080:8080 -v ~/.maxkb:/var/lib/postgresql/data -v ~/.python-packages:/opt/maxkb/app/sandbox/python-packages maxkb:local

看log也启动成功,然后访问http://localhost:8080, 404报错,页面显示:“页面不存在”

Steps to Reproduce

docker build -t maxkb:local -f installer/Dockerfile .

docker run -d --name=maxkb --restart=always -p 8080:8080 -v ~/.maxkb:/var/lib/postgresql/data -v ~/.python-packages:/opt/maxkb/app/sandbox/python-packages maxkb:local

The expected correct result

No response

Related log output

Additional Information

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions