psycocatsremovebmg / Dockerfile
gamedevmms's picture
Deploy automatico PixelAI (frontend + backend unificados)
e2ca502 verified
Raw History Blame Contribute Delete
454 Bytes
FROM python:3.11-slim
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
libgl1 \
libglib2.0-0 && \
rm -rf /var/lib/apt/lists/*
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt && \
pip install --no-cache-dir gunicorn
COPY server.py ./
COPY public ./public
ENV PORT=7860
EXPOSE 7860
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--workers", "1", "--threads", "8", "server:app"]