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

ZEA-2031: implement handle raw html static build #167

Conversation

hackerchai
Copy link
Contributor

No description provided.

pan93412 and others added 30 commits June 30, 2023 19:48
We have listened on 8080 by default.
…e-port-may-be-undefined

fix(planner/php): EXPOSE should be 8080
…he-reference-order-of-environment-variables
…emon-may-oom-at-install-dependencies-stage
internal/static/static.go Outdated Show resolved Hide resolved
Copy link
Member

@yuaanlin yuaanlin left a comment

Choose a reason for hiding this comment

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

The static.TransformServerless function is very simple, it copy the static files into .zeabur/output/static directory.

So when we handle static provider, it is just the same way as we handle static files of Node.js provider. The only different is outputDir is ./ (all source files).

pkg/zeaburpack/main.go Outdated Show resolved Hide resolved
internal/static/TransformServerless.go Outdated Show resolved Hide resolved
@pan93412
Copy link
Member

你又提交到binary了:(

@hackerchai hackerchai force-pushed the yisheng/zea-2031-fix-fix-zbpack-handle-static-build branch from 7002c1e to 3621e8f Compare October 29, 2023 11:53
@hackerchai hackerchai closed this Oct 29, 2023
@hackerchai hackerchai deleted the yisheng/zea-2031-fix-fix-zbpack-handle-static-build branch October 29, 2023 12:02
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.

6 participants