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

构建Docker镜像 #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BetterWorld-Liuser
Copy link

我为您的项目制作了Docker镜像。

使用制作好的镜像

pull 镜像

sudo docker pull 735083049/resume

运行镜像

sudo docker run -d -p 3081:80 735083049/resume

手动构建镜像

加入的Dockerfile可以用于手动构建镜像。

  1. 运行build构建dist目录
npm run build
  1. 运行docker build
sudo docker build -t <image name> .

创建docker镜像
Copy link

vercel bot commented Apr 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
resume-json-pdf ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 1, 2024 1:49pm

@RylanBot
Copy link
Owner

RylanBot commented Apr 3, 2024

非常感谢 🙏
但是由于我还不太熟悉 Docker 的使用,可能暂时不能 merge 这个 PR 😢

@BetterWorld-Liuser
Copy link
Author

非常感谢 🙏 但是由于我还不太熟悉 Docker 的使用,可能暂时不能 merge 这个 PR 😢

没事没事,因为我确实用到了这个项目,所以想帮帮忙。

@RylanBot RylanBot force-pushed the main branch 13 times, most recently from c8037c6 to fa41c30 Compare April 22, 2024 21:02
@RylanBot RylanBot force-pushed the main branch 3 times, most recently from b8e040f to 1ee9f99 Compare May 21, 2024 13:00
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.

None yet

2 participants