摘要: import { ComponentProps } from "react"; import { Equal, Expect } from "../helpers/type-utils"; const buttonProps = { type: "button", // @ts-expect-err 阅读全文
posted @ 2023-08-07 15:02 Zhentiw 阅读(9) 评论(0) 推荐(0) 编辑
摘要: ## Feed `env` to docker container In the code we need to use `const dataPath = path.join(process.env.DATA_PATH || "./data.txt");` When run docker cont 阅读全文
posted @ 2023-08-07 14:26 Zhentiw 阅读(11) 评论(0) 推荐(0) 编辑
摘要: So far we've been dealing with self-contained containers. Normally this is all you ever want: containers that can spin up and spin down as frequently 阅读全文
posted @ 2023-08-07 13:48 Zhentiw 阅读(5) 评论(0) 推荐(0) 编辑