mirror of
https://github.com/usatiuk/writer.git
synced 2025-10-28 16:07:49 +01:00
vscode devcontainer attempt 1
This commit is contained in:
16
.devcontainer/devcontainer.json
Normal file
16
.devcontainer/devcontainer.json
Normal 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",
|
||||
}
|
||||
Reference in New Issue
Block a user