Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skyone-wzw/node-docker-template
Use github action to buid docker image
https://github.com/skyone-wzw/node-docker-template
Last synced: about 1 month ago
JSON representation
Use github action to buid docker image
- Host: GitHub
- URL: https://github.com/skyone-wzw/node-docker-template
- Owner: skyone-wzw
- Created: 2021-10-29T10:25:28.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-06T18:52:45.000Z (over 2 years ago)
- Last Synced: 2023-06-15T18:18:11.012Z (over 1 year ago)
- Language: Dockerfile
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Node.js自动构建模板
基于静态链接的 node 程序,实现最小的容器
使用:
```shell
git clone https://github.com/skyone-wzw/node-docker-template.git my_project
cd my_project# 编写Node.js代码
# 修改 Github Action 文件
git add .
git commit -m "添加我的代码"
git remote remove origin
git remote add origin https://github.com/XXX.git
git push origin master
```本地构建:
```shell
docker build . -t username/imagename
```