Spaces:
Running
Running
FROM python:3.10-slim | |
WORKDIR /app | |
# install dependencies | |
COPY requirements.txt . | |
RUN pip install --no-cache-dir -r requirements.txt | |
# copy app | |
COPY app ./app | |
# copy config | |
COPY params.cfg . | |
# expose Gradio default port | |
EXPOSE 7860 | |
# launch with unbuffered output | |
CMD ["python", "-u", "app/main.py"] |