render README.md on index page

This commit is contained in:
Oscar Krause
2022-12-21 07:33:20 +01:00
parent f977f75538
commit 76f997d437
3 changed files with 6 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ RUN apk update \
&& apk del build-deps
COPY app /app
COPY README.md /README.md
HEALTHCHECK --start-period=30s --interval=10s --timeout=5s --retries=3 CMD curl --insecure --fail https://localhost/status || exit 1
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "443", "--app-dir", "/app", "--proxy-headers", "--ssl-keyfile", "/app/cert/webserver.key", "--ssl-certfile", "/app/cert/webserver.crt"]