Upload files to "/"

This commit is contained in:
Blackwhitebear8 2025-12-23 14:28:54 +01:00
commit f8bc944307
5 changed files with 390 additions and 0 deletions

16
Dockerfile Normal file
View file

@ -0,0 +1,16 @@
FROM python:3.9-alpine
WORKDIR /app
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt && \
find /usr/local -name '__pycache__' -type d -exec rm -rf {} +
COPY app.py .
EXPOSE 5001
CMD ["python", "app.py"]