introduce the concept of a local dev environment

This commit is contained in:
Adrian Manteza 2022-03-17 20:42:22 +00:00
parent fede094eeb
commit 37a5db4c9b
2 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,8 @@ RUN python -m pip install sqspy
RUN mkdir /app
WORKDIR /app
ENV LOCAL_DEV True
# Bundle app source
COPY . /app

View File

@ -9,3 +9,4 @@ class ApplicationConfigs():
sqs_queue = os.environ.get('SQS_QUEUE', '')
endpoint_url = os.environ.get('ENDPOINT_URL', '')
s3_processed_bucket = os.environ.get('S3_PROCESSED_BUCKET', 'measure-local-solver-processed')
local_dev_env = os.environ.get('LOCAL_DEV', False) == 'True'