mirror of
https://github.com/creyD/email_valid.git
synced 2026-04-13 03:40:30 +02:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 888f9639ba | |||
| d6e637bf82 |
@@ -16,7 +16,7 @@ RUN pip install 'uvicorn[standard]'
|
|||||||
ENV ENV=DEV
|
ENV ENV=DEV
|
||||||
|
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
|
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--timeout-keep-alive", "600"]
|
||||||
|
|
||||||
# Install curl
|
# Install curl
|
||||||
RUN apt-get update && apt-get install -y curl && apt-get clean
|
RUN apt-get update && apt-get install -y curl && apt-get clean
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ from validate_email import validate_email
|
|||||||
app = FastAPI(
|
app = FastAPI(
|
||||||
title="MailConfirm API",
|
title="MailConfirm API",
|
||||||
description="API for telegram bot for confirming emails.",
|
description="API for telegram bot for confirming emails.",
|
||||||
version="0.1.0",
|
version="0.1.1",
|
||||||
docs_url="/",
|
docs_url="/",
|
||||||
redoc_url=None,
|
redoc_url=None,
|
||||||
debug=False,
|
debug=False,
|
||||||
|
|||||||
Reference in New Issue
Block a user