Update main.py
Browse files
main.py
CHANGED
@@ -120,16 +120,3 @@ def download_fb2(url: str) -> Response:
|
|
120 |
headers={"Content-Disposition": f"attachment; filename={filename}"}
|
121 |
)
|
122 |
|
123 |
-
# File: Dockerfile
|
124 |
-
FROM python:3.11-slim
|
125 |
-
WORKDIR /app
|
126 |
-
COPY requirements.txt .
|
127 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
128 |
-
COPY main.py .
|
129 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|
130 |
-
|
131 |
-
# File: requirements.txt
|
132 |
-
fastapi
|
133 |
-
uvicorn
|
134 |
-
requests
|
135 |
-
beautifulsoup4
|
|
|
120 |
headers={"Content-Disposition": f"attachment; filename={filename}"}
|
121 |
)
|
122 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|