FROM python:3.12-slim
WORKDIR /app
RUN pip install --no-cache-dir wsgidav cheroot
COPY app.py .
RUN mkdir -p /data
EXPOSE 80
CMD ["python", "-u", "app.py"]