File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 4
4
"name" : " Container" ,
5
5
"dockerComposeFile" : " docker-compose.yml" , // Location of docker-compose.yml file
6
6
"service" : " devcontainer" , // Where the image is specified in the docker-compose.yml
7
- "workspaceFolder" : " /workspaces/ajax-with-magic " , // Where to mount the workspace folder
7
+ "workspaceFolder" : " /workspaces/${localWorkspaceFolderBasename} " , // Where to mount the workspace folder
8
8
9
9
// Container environment variables to ensure database connection works
10
10
"containerEnv" : {
35
35
36
36
"otherPortsAttributes" : {"onAutoForward" : " ignore" },
37
37
38
+ // Use 'initializeCommand' to run commands during initialization of container.
39
+ "initializeCommand" : " .devcontainer/initialize.sh" ,
40
+
38
41
// Use 'postCreateCommand' to run commands after the container is created.
39
42
"postCreateCommand" : " bin/setup && gem install rufo && gem install htmlbeautifier" ,
40
43
You can’t perform that action at this time.
0 commit comments