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

add docker-compose support #100

Merged
merged 2 commits into from Mar 4, 2024
Merged

add docker-compose support #100

merged 2 commits into from Mar 4, 2024

Conversation

WeihanLi
Copy link
Contributor

@WeihanLi WeihanLi commented Jan 29, 2024

因为是一个纯前端的项目,所以生成之后的文件不支持直接读取环境变量,这里定义了一个 build 参数,build docker 镜像的时候可以指定

修改构建参数配置之后,docker-compose up -d 即可

如果 docker-compose up -d 之后又修改参数,则需要重新构建镜像使用 docker-compose up -d --force-recreate

fixes #47 , #87

@WeihanLi WeihanLi marked this pull request as ready for review January 29, 2024 16:42
@202252197 202252197 merged commit 8eaf5e6 into 202252197:main Mar 4, 2024
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.

能部署一个docker-compose吗?方便我们的设置跟部署。
2 participants