Skip to content

Using an ENTRYPOINT? #4

@chadrien

Description

@chadrien

With the chosen option for the CMD entry, I'm facing an issue when "inheriting" from this image and add an ENTRYPOINT. The error encountered is the following:

nginx: invalid option: "off;"

Is there anything I'm missing so it would work?

A solution may be to do like the old official images and add daemon off; in the /etc/nginx/nginx.conf file so the CMD should simply be ["nginx"].
If so, I'd be more than happy to open a PR 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions