From 6c032df7454b61f74e12e664be190020c3104fc7 Mon Sep 17 00:00:00 2001 From: Tim DiLauro Date: Fri, 13 Sep 2024 10:46:58 -0400 Subject: [PATCH] Don't use legacy key/value format in Dockerfile. (#661) --- Dockerfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7b374c33..a674e725 100644 --- a/Dockerfile +++ b/Dockerfile @@ -45,13 +45,13 @@ EXPOSE 80 ##### Install NGINX, and Supervisor (Gunicorn installed in virtualenv) ##### # This is a simplified version of the offical Nginx Dockerfile for Alpine 3.17: # https://github.com/nginxinc/docker-nginx/blob/5ce65c3efd395ee2d82d32670f233140e92dba99/mainline/alpine/Dockerfile -ENV NGINX_VERSION 1.23.3 -ENV NJS_VERSION 0.7.9 -ENV PKG_RELEASE 1 -ENV SUPERVISOR_VERSION 4.2.2 -ENV POETRY_VERSION 1.5.1 -ENV POETRY_URL "https://install.python-poetry.org" -ENV POETRY_HOME "/etc/poetry" +ENV NGINX_VERSION=1.23.3 +ENV NJS_VERSION=0.7.9 +ENV PKG_RELEASE=1 +ENV SUPERVISOR_VERSION=4.2.2 +ENV POETRY_VERSION=1.5.1 +ENV POETRY_URL="https://install.python-poetry.org" +ENV POETRY_HOME="/etc/poetry" RUN set -x \ && addgroup -g 101 -S nginx \ @@ -179,7 +179,7 @@ RUN set -ex \ # FROM builder AS libreg_active -ENV FLASK_ENV production +ENV FLASK_ENV=production COPY . ./ ##############################################################################