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