fix: ThreadingHTTPServer + unbuffered stdout + correct endpoint URL
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user