diff --git a/Dockerfile.dev b/Dockerfile.dev index 1f6609c..45ba4fd 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -28,7 +28,7 @@ RUN pip install ./guardrails-sdk RUN pip install ./guard-rails-api-client # Install app dependencies -RUN pip install -r requirements.txt +RUN pip install -r requirements-lock.txt # Download punkt data RUN python -m nltk.downloader -d /opt/nltk_data punkt diff --git a/Dockerfile.prod b/Dockerfile.prod index 516a3b6..1e3425b 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -29,7 +29,7 @@ RUN pip install git+https://github.com/guardrails-ai/guardrails-internal.git@tel RUN curl https://truststore.pki.rds.amazonaws.com/global/global-bundle.pem -o ./global-bundle.pem # Install app dependencies -RUN pip install -r requirements.txt +RUN pip install -r requirements-lock.txt # Download punkt data RUN python -m nltk.downloader -d /opt/nltk_data punkt @@ -42,5 +42,5 @@ COPY . . EXPOSE 8000 -# CMD opentelemetry-instrument gunicorn --bind 0.0.0.0:8000 --timeout=5 --threads=10 "app:create_app()" -CMD gunicorn --forwarded-allow-ips="*" --bind 0.0.0.0:8000 --timeout=60 --threads=10 "app:create_app()" +CMD opentelemetry-instrument gunicorn --bind 0.0.0.0:8000 --timeout=5 --threads=10 "app:create_app()" +# CMD gunicorn --forwarded-allow-ips="*" --bind 0.0.0.0:8000 --timeout=60 --threads=10 "app:create_app()"