Skip to content

Commit

Permalink
Merge pull request #32 from a-luna:fix-gh-action-deploy_attempt-17
Browse files Browse the repository at this point in the history
Update Dockerfile environment variables
  • Loading branch information
a-luna authored Jan 8, 2024
2 parents a4aedcd + 6fb8c51 commit 8869b2c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ ENV TEST_HEADER=${TEST_HEADER}

WORKDIR /code

RUN echo $'ENV=${ENV}\n\
RUN echo $"ENV=$ENV\n\
PYTHONPATH=.\n\
UNICODE_VERSION=${UNICODE_VERSION}\n\
REDIS_HOST=${REDIS_HOST}\n\
REDIS_PORT=${REDIS_PORT}\n\
REDIS_DB=${REDIS_DB}\n\
REDIS_PW=${REDIS_PW}\n\
RATE_LIMIT_PER_PERIOD=${RATE_LIMIT_PER_PERIOD}\n\
RATE_LIMIT_PERIOD_SECONDS=${RATE_LIMIT_PERIOD_SECONDS}\n\
RATE_LIMIT_BURST=${RATE_LIMIT_BURST}\n\
TEST_HEADER=${TEST_HEADER}' > /code/.env
UNICODE_VERSION=$UNICODE_VERSION\n\
REDIS_HOST=$REDIS_HOST\n\
REDIS_PORT=$REDIS_PORT\n\
REDIS_DB=$REDIS_DB\n\
REDIS_PW=$REDIS_PW\n\
RATE_LIMIT_PER_PERIOD=$RATE_LIMIT_PER_PERIOD\n\
RATE_LIMIT_PERIOD_SECONDS=$RATE_LIMIT_PERIOD_SECONDS\n\
RATE_LIMIT_BURST=$RATE_LIMIT_BURST\n\
TEST_HEADER=$TEST_HEADER" > /code/.env

RUN pip install -U pip setuptools wheel
COPY ./requirements.txt /code/requirements.txt
Expand Down

0 comments on commit 8869b2c

Please sign in to comment.