mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-11 18:56:42 +02:00
build(docker): optimize Dockerfile and setup vscode devcontainer with all required dependencies
- fix: set mediaBaseURL as baseURL if not defined - update dev documentation seting up a dev environment
This commit is contained in:
parent
a162d6d08f
commit
88c52db53c
7 changed files with 123 additions and 64 deletions
|
|
@ -2,10 +2,13 @@
|
|||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.117.1/containers/docker-existing-dockerfile
|
||||
{
|
||||
"name": "Castopod Host dev",
|
||||
"dockerComposeFile": ["../docker-compose.yml"],
|
||||
"dockerComposeFile": ["../docker-compose.yml", "./docker-compose.yml"],
|
||||
"service": "app",
|
||||
"workspaceFolder": "/castopod-host",
|
||||
"postCreateCommand": "cron && php spark serve --host 0.0.0.0",
|
||||
"postCreateCommand": "composer install && npm install && npm run build:dev",
|
||||
"postStartCommand": "crontab ./crontab && cron && php spark serve --host 0.0.0.0",
|
||||
"postAttachCommand": "crontab ./crontab && service cron reload",
|
||||
"shutdownAction": "stopCompose",
|
||||
"settings": {
|
||||
"terminal.integrated.defaultProfile.linux": "/bin/bash",
|
||||
"editor.formatOnSave": true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue