From d0b9e7f3246cf271e5a5292754f41650773f35bb Mon Sep 17 00:00:00 2001 From: Thephaseless Date: Fri, 18 Oct 2024 14:27:23 +0000 Subject: [PATCH] add default display --- .devcontainer/Dockerfile | 1 + .devcontainer/devcontainer.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 3d386cd..3d08468 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -23,4 +23,5 @@ RUN apt install -y \ chromium RUN pipx install poetry +ENV DISPLAY=:0 # RUN poetry config virtualenvs.in-project true \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index d7d1b28..3e29b23 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -22,7 +22,7 @@ } } }, - // "postStartCommand": "poetry install", + "postStartCommand": "./entrypoint.sh", // 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.