File size: 324 Bytes
ec3efd7
 
 
 
 
 
 
 
761a377
 
c5f108b
ec3efd7
242587c
ec3efd7
761a377
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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://localhost:8000/

COPY . .

CMD ["python",  "main.py"]