Skip to content

Commit

Permalink
Update Dockerfile environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
a-luna committed Jan 5, 2024
1 parent 15d30b5 commit 99b7d50
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 99b7d50

Please sign in to comment.