Skip to content

Commit a15fa13

Browse files
committed
chore: clean up devcontainer
- [x] update readme - [x] delete old toml config - [x] delete dockerfile Signed-off-by: jmeridth <[email protected]>
1 parent 4c953ff commit a15fa13

8 files changed

+12307
-48
lines changed

.devcontainer/Dockerfile

-37
This file was deleted.

.devcontainer/devcontainer.json

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
11
{
22
"name": "blog-hugo",
3-
"build": {
4-
"dockerfile": "Dockerfile",
5-
"args": {
6-
"VARIANT": "hugo_extended",
7-
"VERSION": "latest",
8-
"NODE_VERSION": "20"
3+
"image": "mcr.microsoft.com/vscode/devcontainers/javascript-node:22",
4+
"features": {
5+
"ghcr.io/devcontainers/features/hugo:1": {
6+
"version": "latest",
7+
"extended": true
98
}
109
},
1110
"customizations": {
1211
"vscode": {
1312
"settings": {
1413
"html.format.templating": true
1514
},
16-
"extensions": ["bungcip.better-toml", "davidanson.vscode-markdownlint"]
15+
"extensions": ["tamasfe.even-better-toml", "davidanson.vscode-markdownlint"]
1716
}
1817
},
1918
"forwardPorts": [1313],
20-
"postCreateCommand": "hugo version",
19+
"postCreateCommand": "hugo serve",
2120
"remoteUser": "node"
2221
}

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
Let the devcontainer start in vscode
66

7-
Then [cmd|ctrl]+P -> Run Task -> Serve or Serve With Drafts
8-
97
[Open Browser](http://localhost:1313)
108

119
## Production

hugo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ author = "JM (Jason Meridth)"
2020
description = "I am a continuously learning software developer trying to not let best be the enemy of better."
2121
keywords = "jason meridth,meridth,jm,software developer"
2222
info = ["Continuously Learning Software Developer"]
23-
avatarURL = "images/jm.jpg"
23+
#avatarURL = "images/jm.jpg"
2424
#gravatar = "[email protected]"
2525
dateFormat = "January 2, 2006"
2626
since = 2007

0 commit comments

Comments
 (0)