Fix CLI workflow and container startup

- Updated GitHub Actions workflow to call `infinito make ...` inside container
- Simplified Dockerfile CMD to run `infinito --help` and keep container alive
- Adjusted docker-compose.yml to use explicit image name

See: https://chatgpt.com/share/68cde606-c3f8-800f-8ac5-fc035386da87
This commit is contained in:
2025-09-20 01:24:20 +02:00
parent 974a83fe6e
commit c424afa935
3 changed files with 5 additions and 10 deletions

View File

@@ -59,9 +59,4 @@ RUN INFINITO_PATH=$(pkgmgr path infinito) && \
ln -sf "$INFINITO_PATH"/main.py /usr/local/bin/infinito && \
chmod +x /usr/local/bin/infinito
# 10) Run integration tests
# This needed to be deactivated becaus it doesn't work with gitthub workflow
#RUN INFINITO_PATH=$(pkgmgr path infinito) && \
# cd "$INFINITO_PATH" && \
# make test
CMD ["infinito --help"]
CMD sh -c "infinito --help && exec tail -f /dev/null"