fix(devcontainer): prevent recursive install after create
parent
1a0aa8917e
commit
b67ba0ea85
|
@ -3,14 +3,15 @@
|
||||||
{
|
{
|
||||||
"name": "Nextcloud DevContainer",
|
"name": "Nextcloud DevContainer",
|
||||||
"dockerComposeFile": ["./docker-compose.yml"],
|
"dockerComposeFile": ["./docker-compose.yml"],
|
||||||
"service": "nextcloud",
|
"service": "nextcloud-server",
|
||||||
"workspaceFolder": "/var/www/html/custom_apps/memories",
|
"workspaceFolder": "/var/www/html/custom_apps/memories",
|
||||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||||
"features": {},
|
"features": {},
|
||||||
|
|
||||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||||
// "forwardPorts": [],
|
// "forwardPorts": [],
|
||||||
"postCreateCommand": "echo 'Container Created'",
|
"postCreateCommand": "make dev-setup && npx playwright install && npx playwright install-deps",
|
||||||
|
"postStartCommand": "make watch-js",
|
||||||
// Configure tool-specific properties.
|
// Configure tool-specific properties.
|
||||||
"customizations": {
|
"customizations": {
|
||||||
"vscode": {
|
"vscode": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: 'nextcloud-with-memories'
|
name: 'nextcloud-with-memories'
|
||||||
services:
|
services:
|
||||||
nextcloud:
|
nextcloud-server:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
@ -15,7 +15,6 @@ services:
|
||||||
# - theme:/var/www/html/themes/<YOUR_CUSTOM_THEME>
|
# - theme:/var/www/html/themes/<YOUR_CUSTOM_THEME>
|
||||||
ports:
|
ports:
|
||||||
- 9080:80
|
- 9080:80
|
||||||
image: nextcloud
|
|
||||||
# volumes:
|
# volumes:
|
||||||
# nextcloud:
|
# nextcloud:
|
||||||
# name: nextcloud
|
# name: nextcloud
|
||||||
|
|
Loading…
Reference in New Issue