Dockerfile 186 B

123456789101112131415
  1. FROM python:3.12
  2. RUN pip install poetry
  3. WORKDIR /app
  4. COPY . .
  5. RUN poetry install
  6. ENV GRADIO_SERVER_NAME="0.0.0.0"
  7. EXPOSE 7860
  8. CMD ["poetry", "run", "python", "-m", "interface.py"]