File size: 615 Bytes
78c8c21
 
 
 
 
 
 
 
0ffd596
 
ba54da0
78c8c21
 
 
7141245
78c8c21
 
 
 
 
b47f2f2
 
 
ba54da0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM python:3.9-slim

EXPOSE 7860

RUN apt-get update && apt-get install -y \
    build-essential \
    software-properties-common \
    git \
    libcairo2 \
    libcairo2-dev \
    imagemagick \
    && rm -rf /var/lib/apt/lists/*

WORKDIR /moulinette
RUN mkdir /moulinette/images
COPY . .
RUN echo $(ls -1 .. )

RUN pip3 install -r requirements.txt

# For Windows Docker execution, uncomment below:
#ENTRYPOINT ["streamlit", "run", "Corriger.py", "--server.port=8501", "--server.address=0.0.0.0"]
# For HuggingFace execution, uncommment below:
ENTRYPOINT ["streamlit", "run", "Corriger.py", "--server.port=7860"]