Implement ingesting to Redis from Threshold

This commit is contained in:
2022-09-07 07:20:30 +01:00
parent a6b5348224
commit 49784dfbe5
10 changed files with 46 additions and 50 deletions

View File

@@ -11,8 +11,8 @@ RUN chown pathogen:pathogen /venv
USER pathogen
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /code
COPY requirements.prod.txt /code/
WORKDIR /code/legacy
COPY requirements.prod.txt /code/legacy
RUN python -m venv /venv
RUN . /venv/bin/activate && pip install -r requirements.prod.txt
CMD . /venv/bin/activate && exec python /code/threshold
RUN . /venv/bin/activate && pip install -r /code/legacy/requirements.prod.txt
CMD . /venv/bin/activate && exec python /code/legacy/threshold