I am unable get my docker finish build, and it seems like the health check or a similar build service is cancelling over timeout though docker is still clearly building after timeout is decided. I was using X-large instance, and the container is tested and compiles fine locally though takes time to build, a previous version without new libraries did build and deploy so the issue is mostly around compiling some python libraries taking its course. Any advice on pushing it over the fence?
#8 1686.4 Building wheel for blis (pyproject.toml): still running… #8 1746.8 Building wheel for blis (pyproject.toml): still running…
Instance is stopping #8 1807.6 Building wheel for blis (pyproject.toml): still running…
canceled #8 CANCELED
Instance stopped
Uses Docker Compose:
Have a flask python web app, and PG in docker compose,
The failures started when I added spacy python library for NLP processing, which takes a while to compile, otherwise it started ok. I kept moving the server type up to more and more memory, but no luck yet.
My koyeb:
FROM koyeb/docker-compose
RUN apk add --no-cache git
COPY . /app/
CMD [“docker-compose”, “-f”, “./docker-compose.yml”, “up”]