Skip to content

Commit 9f77bf0

Browse files
authored
Fix docker entrypoint & image script (#1233)
1 parent 56edfa0 commit 9f77bf0

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

extras/docker/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,3 @@ RUN poetry install --no-root --with plugins
2222
ENV PYTHONPATH /app
2323

2424
ENTRYPOINT ["/docker-entrypoint.sh"]
25-
26-
CMD ["webserver"]

extras/docker/dev/docker-compose.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: '3.3'
21
services:
32

43
redis:

extras/docker/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ elif [[ "$1" = 'toggle-admin' ]]; then
2222
elif [[ "$1" = 'migrate-arangodb' ]]; then
2323
poetry run python yetictl/cli.py migrate-arangodb "${@:2}"
2424
elif [[ "$1" = 'envshell' ]]; then
25-
poetry shell
25+
$(poetry env activate) && exec bash
2626
else
2727
exec "$@"
2828
fi

0 commit comments

Comments
 (0)