From 3243042dd268308eae09a3d291f761a949dbd363 Mon Sep 17 00:00:00 2001 From: Josh Burman Date: Wed, 27 Oct 2021 02:33:00 +0000 Subject: [PATCH] dockerfile parity and verion fix --- Dockerfile | 4 +++- app/main.py | 2 +- docker_tag.txt | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6a56801..e8babba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,7 @@ RUN cd Cbc-2.9.8 && \ ./configure && \ make && \ make install +RUN python -m pip install pydantic RUN python -m pip install pySqsListener # Bundle app source @@ -23,4 +24,5 @@ ENV MEASURE_PROCESSED_BUCKET measure-development-solver-processed ENV SOLVER_SQS_INGEST_QUEUE https://sqs.ca-central-1.amazonaws.com/455309353401/measure-development-solver-ingest ENV SOLVER_AWS_REGION ca-central-1 -CMD [ "python", "main.py" ] +# CMD [ "python", "main.py" ] +CMD tail -f /dev/null diff --git a/app/main.py b/app/main.py index 94ae560..d64b551 100644 --- a/app/main.py +++ b/app/main.py @@ -3,7 +3,7 @@ import os from services.loft import Loft from helpers import aws_helper -print("Starting Solver Service (v0.3.0)...") +print("Starting Solver Service (v0.3.1)...") # listen to the solver queue while True: diff --git a/docker_tag.txt b/docker_tag.txt index 0ea3a94..9e11b32 100644 --- a/docker_tag.txt +++ b/docker_tag.txt @@ -1 +1 @@ -0.2.0 +0.3.1