Mukera / Dockerfile
Seraph19's picture
Create Dockerfile
88e58cf verified
raw
history blame
224 Bytes
FROM python:3.8-slim
WORKDIR /usr/src/app
COPY . .
RUN pip install --no-cache-dir gradio
EXPOSE 7860
ENV GRADIO_SERVER_NAME="0.0.0.0"
CMD ["python", "app.py"]
docker build -t gradio-app .
docker run -p 7860:7860 gradio-app