From 99b7d50b23c7c804b12def4ae32a2481dcd96e95 Mon Sep 17 00:00:00 2001 From: Aaron Luna Date: Fri, 5 Jan 2024 12:28:59 -0800 Subject: [PATCH] Update Dockerfile environment variables --- Dockerfile | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0f8be19..0b21ee7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,26 +1,8 @@ FROM python:3.11 -ARG ENV -ARG TEST_HEADER -ARG RATE_LIMIT_PER_PERIOD -ARG RATE_LIMIT_PERIOD_SECONDS -ARG RATE_LIMIT_BURST -ARG REDIS_HOST -ARG REDIS_PORT -ARG REDIS_DB -ARG REDIS_PW -ARG UNICODE_VERSION - -ENV ENV=${ENV} -ENV TEST_HEADER=${TEST_HEADER} -ENV RATE_LIMIT_PER_PERIOD=${RATE_LIMIT_PER_PERIOD} -ENV RATE_LIMIT_PERIOD_SECONDS=${RATE_LIMIT_PERIOD_SECONDS} -ENV RATE_LIMIT_BURST=${RATE_LIMIT_BURST} -ENV REDIS_HOST=${REDIS_HOST} -ENV REDIS_PORT=${REDIS_PORT} -ENV REDIS_DB=${REDIS_DB} -ENV REDIS_PW=${REDIS_PW} -ENV UNICODE_VERSION=${UNICODE_VERSION} +ENV ENV=PROD +ARG ARG_UNICODE_VERSION +ENV UNICODE_VERSION=${ARG_UNICODE_VERSION} WORKDIR /code RUN pip install -U pip setuptools wheel