Puter / Dockerfile
Sameric234's picture
Upload 5 files
2ebe1d5 verified
raw
history blame contribute delete
337 Bytes
FROM python:3.11-slim
WORKDIR /app
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1
COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
CMD ["uvicorn", "puter_server:app", "--host", "0.0.0.0", "--port", "7860"]