fix(devcontainer): prevent recursive install after create

pull/1015/head
Saninn Salas Diaz 2024-01-23 10:24:30 +00:00
parent 1a0aa8917e
commit b67ba0ea85
2 changed files with 4 additions and 4 deletions

View File

@ -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": {

View File

@ -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