Skip to content

Commit 72c2760

Browse files
committed
test gunicorn fix
1 parent 1f06695 commit 72c2760

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ ENV BASE_URL="api.opencitations.net" \
99
SPARQL_ENDPOINT_META="http://virtuoso-service.default.svc.cluster.local:8890/sparql" \
1010
SYNC_ENABLED="true"
1111

12+
13+
# Ensure Python output is unbuffered
14+
ENV PYTHONUNBUFFERED=1
1215
# Install system dependencies required for Python package compilation
1316
RUN apt-get update && \
1417
apt-get install -y \
@@ -29,4 +32,4 @@ RUN pip install -r requirements.txt
2932
EXPOSE 8080
3033

3134
# Start the application with gunicorn instead of python directly
32-
CMD ["gunicorn", "-c", "gunicorn_config.py", "api_oc:application"]
35+
CMD ["gunicorn", "-c", "gunicorn.conf.py", "api_oc:application"]

docker_version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.4.1sync-test5
1+
1.4.1sync-test6
File renamed without changes.

0 commit comments

Comments
 (0)