Skip to content

Commit 01a3bb9

Browse files
author
github-actions
committed
update with project-syncing action
1 parent 95c9435 commit 01a3bb9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.devcontainer/devcontainer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"name": "Container",
55
"dockerComposeFile": "docker-compose.yml", // Location of docker-compose.yml file
66
"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
88

99
// Container environment variables to ensure database connection works
1010
"containerEnv": {
@@ -35,6 +35,9 @@
3535

3636
"otherPortsAttributes": {"onAutoForward": "ignore"},
3737

38+
// Use 'initializeCommand' to run commands during initialization of container.
39+
"initializeCommand": ".devcontainer/initialize.sh",
40+
3841
// Use 'postCreateCommand' to run commands after the container is created.
3942
"postCreateCommand": "bin/setup && gem install rufo && gem install htmlbeautifier",
4043

0 commit comments

Comments
 (0)