Rework into a testable, modern app

This commit is contained in:
2024-08-16 12:11:50 +01:00
parent 5862b259d1
commit aa17b60400
10 changed files with 335 additions and 69 deletions

View File

@@ -30,4 +30,4 @@ FROM base AS runtime
COPY --from=builder /runtime /usr/local
COPY . /app
WORKDIR /app
CMD ["/usr/local/bin/uvicorn", "simple_webfinger.app:app", "--host", "0.0.0.0", "--port", "80", "--proxy-headers"]
CMD ["/usr/local/bin/uwsgi", "-w", "simple_webfinger.app:create_app()", "--master", "--http", "0.0.0.0:80"]