From 48d89608a3bb5be763c9bb87121d31e7da27c1cb Mon Sep 17 00:00:00 2001 From: Samuel Mwangi <samuel@samuelmwangi.co.ke> Date: Mon, 22 Jul 2024 17:36:50 +0300 Subject: [PATCH] Update EXPOSE port command (#706) * Added TCP port 80 * Remove port 8080 that is not exposed by the Dockerfile --- runtimes/8.0/Dockerfile | 2 +- runtimes/8.1/Dockerfile | 2 +- runtimes/8.2/Dockerfile | 2 +- runtimes/8.3/Dockerfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/runtimes/8.0/Dockerfile b/runtimes/8.0/Dockerfile index f274fd2c..e95e340c 100644 --- a/runtimes/8.0/Dockerfile +++ b/runtimes/8.0/Dockerfile @@ -60,6 +60,6 @@ COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf COPY php.ini /etc/php/8.0/cli/conf.d/99-sail.ini RUN chmod +x /usr/local/bin/start-container -EXPOSE 8000 +EXPOSE 80/tcp ENTRYPOINT ["start-container"] diff --git a/runtimes/8.1/Dockerfile b/runtimes/8.1/Dockerfile index 2e8b316f..c2fae853 100644 --- a/runtimes/8.1/Dockerfile +++ b/runtimes/8.1/Dockerfile @@ -59,6 +59,6 @@ COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf COPY php.ini /etc/php/8.1/cli/conf.d/99-sail.ini RUN chmod +x /usr/local/bin/start-container -EXPOSE 8000 +EXPOSE 80/tcp ENTRYPOINT ["start-container"] diff --git a/runtimes/8.2/Dockerfile b/runtimes/8.2/Dockerfile index 2a227bcc..270a8b5a 100644 --- a/runtimes/8.2/Dockerfile +++ b/runtimes/8.2/Dockerfile @@ -60,6 +60,6 @@ COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf COPY php.ini /etc/php/8.2/cli/conf.d/99-sail.ini RUN chmod +x /usr/local/bin/start-container -EXPOSE 8000 +EXPOSE 80/tcp ENTRYPOINT ["start-container"] diff --git a/runtimes/8.3/Dockerfile b/runtimes/8.3/Dockerfile index f2d9b149..2a611db1 100644 --- a/runtimes/8.3/Dockerfile +++ b/runtimes/8.3/Dockerfile @@ -61,6 +61,6 @@ COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf COPY php.ini /etc/php/8.3/cli/conf.d/99-sail.ini RUN chmod +x /usr/local/bin/start-container -EXPOSE 8000 +EXPOSE 80/tcp ENTRYPOINT ["start-container"]