From 222ffdd9931fd021fa9b6aa833cfe24a5a34c2ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Sun, 8 Sep 2024 18:25:32 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Do=20not=20`EXPOSE`=20port?= =?UTF-8?q?s=20`80`=20and=20`443`=20by=20default=20as=20they=20can=20be=20?= =?UTF-8?q?customized=20(#227)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-images/python3.10.dockerfile | 5 ----- docker-images/python3.11.dockerfile | 5 ----- docker-images/python3.7.dockerfile | 5 ----- docker-images/python3.8.dockerfile | 5 ----- docker-images/python3.9.dockerfile | 5 ----- 5 files changed, 25 deletions(-) diff --git a/docker-images/python3.10.dockerfile b/docker-images/python3.10.dockerfile index 80bcafd..1d44a31 100644 --- a/docker-images/python3.10.dockerfile +++ b/docker-images/python3.10.dockerfile @@ -13,11 +13,6 @@ RUN bash /install-nginx-debian.sh COPY requirements.txt /tmp/requirements.txt RUN pip install --no-cache-dir -r /tmp/requirements.txt -EXPOSE 80 - -# Expose 443, in case of LTS / HTTPS -EXPOSE 443 - # Remove default configuration from Nginx RUN rm /etc/nginx/conf.d/default.conf # Copy the base uWSGI ini file to enable default dynamic uwsgi process number diff --git a/docker-images/python3.11.dockerfile b/docker-images/python3.11.dockerfile index 15832e1..57276d9 100644 --- a/docker-images/python3.11.dockerfile +++ b/docker-images/python3.11.dockerfile @@ -13,11 +13,6 @@ RUN bash /install-nginx-debian.sh COPY requirements.txt /tmp/requirements.txt RUN pip install --no-cache-dir -r /tmp/requirements.txt -EXPOSE 80 - -# Expose 443, in case of LTS / HTTPS -EXPOSE 443 - # Remove default configuration from Nginx RUN rm /etc/nginx/conf.d/default.conf # Copy the base uWSGI ini file to enable default dynamic uwsgi process number diff --git a/docker-images/python3.7.dockerfile b/docker-images/python3.7.dockerfile index 95ef553..6dc2024 100644 --- a/docker-images/python3.7.dockerfile +++ b/docker-images/python3.7.dockerfile @@ -13,11 +13,6 @@ RUN bash /install-nginx-debian.sh COPY requirements.txt /tmp/requirements.txt RUN pip install --no-cache-dir -r /tmp/requirements.txt -EXPOSE 80 - -# Expose 443, in case of LTS / HTTPS -EXPOSE 443 - # Remove default configuration from Nginx RUN rm /etc/nginx/conf.d/default.conf # Copy the base uWSGI ini file to enable default dynamic uwsgi process number diff --git a/docker-images/python3.8.dockerfile b/docker-images/python3.8.dockerfile index cac3ace..01e4571 100644 --- a/docker-images/python3.8.dockerfile +++ b/docker-images/python3.8.dockerfile @@ -13,11 +13,6 @@ RUN bash /install-nginx-debian.sh COPY requirements.txt /tmp/requirements.txt RUN pip install --no-cache-dir -r /tmp/requirements.txt -EXPOSE 80 - -# Expose 443, in case of LTS / HTTPS -EXPOSE 443 - # Remove default configuration from Nginx RUN rm /etc/nginx/conf.d/default.conf # Copy the base uWSGI ini file to enable default dynamic uwsgi process number diff --git a/docker-images/python3.9.dockerfile b/docker-images/python3.9.dockerfile index 2bc0221..d270a0b 100644 --- a/docker-images/python3.9.dockerfile +++ b/docker-images/python3.9.dockerfile @@ -13,11 +13,6 @@ RUN bash /install-nginx-debian.sh COPY requirements.txt /tmp/requirements.txt RUN pip install --no-cache-dir -r /tmp/requirements.txt -EXPOSE 80 - -# Expose 443, in case of LTS / HTTPS -EXPOSE 443 - # Remove default configuration from Nginx RUN rm /etc/nginx/conf.d/default.conf # Copy the base uWSGI ini file to enable default dynamic uwsgi process number