Skip to content

feat: support Dockerfile#188

Merged
juzhiyuan merged 1 commit intoapi7:masterfrom
SkyeYoung:feat-fe-dockerfile
May 19, 2022
Merged

feat: support Dockerfile#188
juzhiyuan merged 1 commit intoapi7:masterfrom
SkyeYoung:feat-fe-dockerfile

Conversation

@SkyeYoung
Copy link
Copy Markdown
Contributor

@vercel
Copy link
Copy Markdown

vercel Bot commented May 19, 2022

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

Name Status Preview Updated
contributor-graph ✅ Ready (Inspect) Visit Preview May 19, 2022 at 11:22AM (UTC)

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 19, 2022

CLA assistant check
All committers have signed the CLA.

Comment thread Dockerfile
RUN yarn build

# Production image, copy all the files and run next
FROM nginx:1.20-alpine AS runner
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use node to start a server ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use node to start a server ?

Because it is more heavy.

@SkyeYoung SkyeYoung requested a review from starsz May 19, 2022 13:12
@juzhiyuan juzhiyuan changed the title feat: frontend Dockerfile feat: support Dockerfile May 19, 2022
@juzhiyuan juzhiyuan merged commit c64f362 into api7:master May 19, 2022
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.

4 participants