How to deploy celery worker with Dockerfile?[Solved]

Hi, I’m new to Koyeb, and I’m trying to deploy simple celery workers with Dockerfile.
What I want to do is just same with this tutorial

but only difference is to use Dockerfile.
My Dockerfile is as below;

FROM python:3.9-slim

WORKDIR /app

COPY requirements.txt requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
COPY . .

CMD ["celery", "--app=tasks.app", "worker"]

In the builder section on koyeb web console, I selected to build with Docker.

Anything I need to do additionally?
So far, the deployment is starting forever, so I guess some health check doesn’t work well in my case.

Hi @takashi-kyue-spiber,

I see you marked it as solved. Were you able to identify your issue?

1 Like