Skip to content

Commit

Permalink
chore: devcontainer post-create.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
holloway committed Nov 14, 2024
1 parent 69005c0 commit d168c18
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "docker image pull lostpixel/lost-pixel:v3.18.2 && cd client && npm install"
"postCreateCommand": "./post-create.sh"

// Configure tool-specific properties.
// "customizations": {},
Expand Down
5 changes: 5 additions & 0 deletions .devcontainer/post-create.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
docker image pull lostpixel/lost-pixel:v3.18.2

cd client
npm install

0 comments on commit d168c18

Please sign in to comment.