File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed
Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ My Develop Environment Docker
44
55See ` Dockerfile ` for details
66
7+ Docker can be useful to ensure your website works on the same on any machine
8+
79add following config file to the repo before use
810
911## github codespace useage
3436 - name: ls
3537 script: ls
3638```
39+
40+ ## vercel deploy useage
41+
42+ ```
43+ # vercel.json
44+ {
45+ "builds": [
46+ { "src": "Dockerfile",
47+ "use": "@vercel/docker",
48+ "config": {
49+ "buildCommand": "docker build -t my-env:latest .",
50+ "pushCommand": "docker push my-env:latest"
51+ }
52+ }
53+ ]
54+ }
55+ ```
56+
57+ ## jetbrains devcontainer & other servers useage
58+
59+ Copy ` Dockerfile ` to the target repo folder
60+
61+ Create New Dev Container from Dockerfile under the repo folder
62+
63+ ## TODO
64+
65+ -[ ] add ide configuration
66+ - [ ] add cli configuration
Original file line number Diff line number Diff line change 1+ {
2+ "builds" : [
3+ { "src" : " Dockerfile" ,
4+ "use" : " @vercel/docker" ,
5+ "config" : {
6+ "buildCommand" : " docker build -t my-env:latest ." ,
7+ "pushCommand" : " docker push my-env:latest"
8+ }
9+ }
10+ ]
11+ }
You can’t perform that action at this time.
0 commit comments