RenderFlixBackend / Dockerfile
lazerkat's picture
Update Dockerfile
58fdc47 verified
raw
history blame contribute delete
272 Bytes
FROM python:3.9-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Create /tmp directory with proper permissions
RUN mkdir -p /tmp && chmod 777 /tmp
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]