nginx exits error code 0 with docker compose
Konstantin Pavlov
thresh at nginx.com
Tue Sep 6 08:30:25 UTC 2022
Hi Brian,
On 06/09/2022 3:14 AM, Brian Carey wrote:
>
> I'm trying to run nginx/mysql/php in docker. Everything seems to run
> fine. I have added tty: true and changed the
>
> Here is my Dockerfile, docker-compose.yaml and the nginx-related
> output. I did try adding tty: true but it made no difference.
>
> Any ideas? Thanks in advance.
>
> biscotty
>
> '''
>
> FROM nginx:alpine
>
> CMD ["nginx", "-g", "daemon off;"]
>
> EXPOSE 80 443
>
Make sure to rebuild the cached image used by docker-compose. This
should work fine.
More information about the nginx
mailing list