From b5a1dc86a573290c392b820727b4502f8ab6b64a Mon Sep 17 00:00:00 2001 From: Orce MARINKOVSKI Date: Wed, 25 Dec 2024 09:53:30 +0100 Subject: [PATCH] Development: fix devcontainer postCreateCommand (#8542) --- .devcontainer/devcontainer.json | 2 +- src-ui/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index e0fa56109..337c96e3b 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,7 +3,7 @@ "dockerComposeFile": "docker-compose.devcontainer.sqlite-tika.yml", "service": "paperless-development", "workspaceFolder": "/usr/src/paperless/paperless-ngx", - "postCreateCommand": "/bin/bash -c pre-commit install && pipenv install --dev", + "postCreateCommand": "pipenv install --dev && pipenv run pre-commit install && pipenv shell", "customizations": { "vscode": { "extensions": [ diff --git a/src-ui/package.json b/src-ui/package.json index 1b7deea1d..50ef7c5dc 100644 --- a/src-ui/package.json +++ b/src-ui/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "scripts": { "ng": "ng", - "start": "ng serve", + "start": "ng serve --host 0.0.0.0", "build": "ng build", "test": "ng test --no-watch --coverage", "lint": "ng lint",