jspy / Dockerfile
latterworks's picture
Create Dockerfile
61dbbe7 verified
raw
history blame contribute delete
350 Bytes
# πŸ”₯ MAXIMUM YEET LISTENER DOCKERFILE
FROM python:3.11-slim
# set working dir
WORKDIR /app
# copy app and install dependencies
COPY app.py .
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# expose port for FastAPI
EXPOSE 7860
# πŸ” Run with Uvicorn
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]