Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev/subtiltle docker support #21

Merged
merged 5 commits into from
Mar 1, 2025

Conversation

XmmShp
Copy link
Contributor

@XmmShp XmmShp commented Feb 28, 2025

修复了由于引入构建版本信息而导致docker版本的构建错误

因为在 vite.config.ts 中引入了通过 git 记录自动生成构建版本号的功能导致在 docker 构建中出错(没有 .git 文件夹),为保证一致性将 .git 目录从 .dockerignore 中移除

顺便修了一个单词的拼写错误

@x6eull
Copy link
Collaborator

x6eull commented Feb 28, 2025

因为有.dockerignore,会忽略构建不需要的文件,git status总会判断“有未提交的更改”。

恐怕用docker部署时很难添加上正确的构建副标题。

@XmmShp
Copy link
Contributor Author

XmmShp commented Mar 1, 2025

因为有.dockerignore,会忽略构建不需要的文件,git status总会判断“有未提交的更改”。

恐怕用docker部署时很难添加上正确的构建副标题。

暂时对Docker构建和非Docker构建做了简单的区分

@x6eull x6eull merged commit 62f412c into QSCTech:main Mar 1, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants