vscode devcontainer attempt 1

This commit is contained in:
2020-04-02 15:31:33 +03:00
parent c3b3e22c75
commit d95ed2bb7b
3 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
{
"name": "Writer app",
"dockerFile": "Dockerfile",
// Use 'appPort' to create a container with published ports. If the port isn't working, be sure
// your server accepts connections from all interfaces (0.0.0.0 or '*'), not just localhost.
"appPort": [
1234, 3000
],
// Use 'settings' to set *default* container specific settings.json values on container create.
// You can edit these settings after create using File > Preferences > Settings > Remote.
"settings": {
"terminal.integrated.shell.linux": "/bin/zsh"
},
// Specifies a command that should be run after the container has been created.
"postCreateCommand": "npm i && cd frontend && npm i",
}