DM-Agent / Dockerfile
unknown
refactor: consolidate repo structure, remove upload_to_github duplication
3291500
Raw History Blame Contribute Delete
260 Bytes
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN mkdir -p data logs
ENV CLOUD=1
ENV PORT=7860
ENV LANG=C.UTF-8
ENV PYTHONIOENCODING=utf-8
EXPOSE 7860
CMD ["python", "src/web.py"]