fix: ThreadingHTTPServer + unbuffered stdout + correct endpoint URL

This commit is contained in:
brian
2026-05-29 14:59:19 -07:00
parent 3a62428751
commit d2c6b7c9b1
2 changed files with 12 additions and 6 deletions

View File

@@ -1,8 +1,9 @@
FROM python:3.12-slim
WORKDIR /app
ENV PYTHONPATH=/app
COPY lib/ lib/
COPY scripts/ scripts/
COPY server.py .
RUN python3 scripts/init_db.py
EXPOSE 3101
CMD ["python3", "server.py"]
CMD ["python3", "-u", "server.py"]