Upload files to "/"

This commit is contained in:
Blackwhitebear8 2025-12-23 14:29:27 +01:00
commit 49de22d788
5 changed files with 432 additions and 0 deletions

17
Dockerfile Normal file
View file

@ -0,0 +1,17 @@
FROM python:3.9-slim
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 .
RUN mkdir -p /data
EXPOSE 5000
CMD ["python", "app.py"]