From 411e938e3b4561b7b953b8a341bf8d5e79f8e9cf Mon Sep 17 00:00:00 2001 From: Waffle <52460705+ox01024@users.noreply.github.com> Date: Mon, 8 Jul 2024 09:44:07 +0800 Subject: [PATCH] Address the issue of the absence of poetry in the development container. (#6036) Co-authored-by: ox01024@163.com --- .devcontainer/post_create_command.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.devcontainer/post_create_command.sh b/.devcontainer/post_create_command.sh index 34bdf041d9..ddf976c47a 100755 --- a/.devcontainer/post_create_command.sh +++ b/.devcontainer/post_create_command.sh @@ -1,6 +1,7 @@ #!/bin/bash cd web && npm install +pipx install poetry echo 'alias start-api="cd /workspaces/dify/api && flask run --host 0.0.0.0 --port=5001 --debug"' >> ~/.bashrc echo 'alias start-worker="cd /workspaces/dify/api && celery -A app.celery worker -P gevent -c 1 --loglevel INFO -Q dataset,generation,mail,ops_trace,app_deletion"' >> ~/.bashrc