Drawing2Sat / Dockerfile
Ruben Gres
added gradio service inside space
761a377
raw
history blame
345 Bytes
FROM python:3.9
WORKDIR /app
COPY ./requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH \
D2M_PORT=7860 \
GRADIO_PORT=8000 \
URL_GRADIO=https://rgres-drawing2map.hf.space/
COPY ./static/ ./
CMD ["python", "main.py"]