From b5d92748ba165051486abac3e7b4eeabfae5dc87 Mon Sep 17 00:00:00 2001 From: Carsten Behring Date: Wed, 4 Dec 2024 21:04:47 +0000 Subject: [PATCH] fixed devcontainer start --- .devcontainer/devcontainer.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 46d6c92..19be3e2 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,8 +1,6 @@ { "remoteUser" : "vscode", - "updateContentCommand" : "clojure -P -Sthreads 1", - "forwardPorts" : [ "12345", "7777" ], - "name" : "dummy", + "name" : "sklearn clj", "build" : { "dockerfile" : "Dockerfile" }, @@ -24,5 +22,8 @@ "ghcr.io/devcontainers-contrib/features/poetry:2" : { } }, "postCreateCommand" : {"setupClojure": "sudo ln -fs /home/vscode/.asdf/shims/clojure /usr/local/bin/", - "setupPython" : "mkdir -p .venv && poetry install"} + "setupPython" : "mkdir -p .venv && poetry install"}, + "postStartCommand": "clojure -Atest -Sthreads 1 -P" + + } \ No newline at end of file