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 \ PORT=7860 \ URL_GRADIO=https://rgres-drawing2map.hf.space/ COPY ./static/ ./ CMD ["python", "app.py"]