@wxcloud/dockerpacks
v2.3.3
Published
A powerful library for generating a Dockerfile file from arbitrary source codes
Downloads
132
Keywords
Readme
@wxcloud/dockerpacks
A powerful library for generating a Dockerfile file from arbitrary source codes.
This library is currently under heavy development and the API is not stable yet.
See Dockerpacks for more details.
Key Goals
- Generate Dockerfile for a given source code.
- Enhance the generated Dockerfile with best practice for Wechat CloudRun.
- Hackable generation progress and customized dockerpacks.
FAQs
- Is there a developer API?
- Yes. You can
import { Dockerpacks } from @wxcloud/dockerpacks
and use it.
- Yes. You can
- Is this open source?
- Yes. You can view the source code
- How is it different from Buildpacks?
- A lot. But key difference is that we generate plain Dockerfile instead of built images.
Usage
See source files in the examples
.
Run the example by:
pnpm i
pnpm build
tsx SOURCE_FILE.ts
Credits and Prior Art
Dockerpacks is inspired by the following projects:
License
Copyright (c) 2022 WeChat CloudRun. All Rights Reserved
Licensed under the MIT license