Switch to Gunicorn

This commit is contained in:
2024-08-18 21:18:14 +01:00
parent df4b5e056f
commit c8b2030f60
3 changed files with 45 additions and 33 deletions

View File

@@ -30,4 +30,5 @@ FROM base AS runtime
COPY --from=builder /runtime /usr/local
COPY . /app
WORKDIR /app
CMD ["/usr/local/bin/uwsgi", "-w", "simple_webfinger.app:create_app()", "--master", "--http", "0.0.0.0:8000"]
EXPOSE 8000/tcp
CMD ["/usr/local/bin/gunicorn", "simple_webfinger.app:create_app()"]