From e4249e6e0ed641a68d717d36b252377e661e6200 Mon Sep 17 00:00:00 2001 From: "Mitch Harding (the weird one)" Date: Fri, 15 Mar 2024 13:56:41 -0400 Subject: [PATCH] CASMCMS-8947: Adjust uWSGI configuration to avoid plugin errors --- CHANGELOG.md | 4 ++++ Dockerfile | 2 +- config/uwsgi.ini | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f3ea15c7..06c3a280 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.16.0] - 2024-03-15 +### Changed +- Install uWSGI using `apk` instead of `pip`; update uWSGI config file to point to Python virtualenv + ## [2.15.4] - 2024-03-12 ### Fixed - Update base operator to handle case where all nodes to act on have exceeded their retry limit diff --git a/Dockerfile b/Dockerfile index a08bf598..8b606a1e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -92,7 +92,7 @@ CMD [ "./docker_api_test_entry.sh" ] FROM base as intermediate WORKDIR /app EXPOSE 9000 -RUN pip3 install --no-cache-dir uWSGI +RUN apk add --no-cache uwsgi uwsgi-python3 COPY config/uwsgi.ini ./ ENTRYPOINT ["uwsgi", "--ini", "/app/uwsgi.ini"] diff --git a/config/uwsgi.ini b/config/uwsgi.ini index 108f7fb2..49734a3e 100644 --- a/config/uwsgi.ini +++ b/config/uwsgi.ini @@ -10,3 +10,4 @@ module=bos.server.__main__ callable=app processes=8 threads=16 +virtualenv=/app/venv