Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel Queue Dockerfile: entrypoint requires the handler name to be the first argument #1896

Open
michaelaguiar opened this issue Dec 12, 2024 · 0 comments
Labels

Comments

@michaelaguiar
Copy link

I created a dockerfile for my queue service because its in an unsupported region, and couldn't use the native runtimes.

Here is my Dockerfile

FROM bref/php-83:2

COPY --from=bref/extra-pgsql-php-83:1 /opt /opt

# Copy the source code in the image
COPY . /var/task

RUN echo "extension=pdo_pgsql.so" >> /opt/bref/etc/php/conf.d/bref.ini

# Configure the handler file (the entrypoint that receives all HTTP requests)
CMD ["Bref\\LaravelBridge\\Queue\\QueueHandler"]

When this queue service picks up the jobs, I get the error: entrypoint requires the handler name to be the first argument. What am I doing wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant