summaryrefslogtreecommitdiff
path: root/.devcontainer/devcontainer.json
blob: 96b1a1b1ea675b49e227ba64d693869779164e72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
	"name": "website",
	"build": {
		"dockerfile": "Dockerfile",
		"args": {
			"VARIANT": "18-bullseye",
			"NODE_VERSION": "18.16.0"
		}
	},
	"waitFor": "onCreateCommand",

	"updateContentCommand": "pnpm install",
	"postCreateCommand": "",
	"postAttachCommand": {
		"serve": "pnpm dev"
	},

	"customizations": {
		"vscode": {
			"extensions": [
				"astro-build.astro-vscode",
				"editorconfig.editorconfig",
				"dbaeumer.vscode-eslint",
				"github.vscode-github-actions",
				"me-dutour-mathieu.vscode-github-actions",
				"ecmel.vscode-html-css",
				"ms-vscode.vscode-typescript-next",
				"bierner.lit-html",
				"esbenp.prettier-vscode",
				"rvest.vs-code-prettier-eslint",
				"syler.sass-indented",
				"bradlc.vscode-tailwindcss"
			]
		}
	},

	"portsAttributes": {
		"3000": {
			"label": "website",
			"onAutoForward": "openPreview"
		}
	},

	"forwardPorts": [3000],

	"remoteUser": "node"
}