Perunio's picture
dockerfile fix
d070ff1
raw
history blame contribute delete
284 Bytes
FROM python:3.12.4-slim
WORKDIR /app
COPY app/ /app/
COPY pyproject.toml /app
RUN pip install --no-cache-dir poetry
ENV POETRY_VIRTUALENVS_IN_PROJECT=true
RUN poetry install --no-root
EXPOSE 7860
ENV GRADIO_SERVER_NAME="0.0.0.0"
CMD ["poetry", "run", "python", "gradio_app.py"]