File size: 555 Bytes
76c921d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
26
27
28
29
30
31
32
FROM selenium/standalone-chrome:latest

USER root

RUN apt-get update && apt-get install -y --no-install-recommends \
    # build-essential \
    # git \
    # python3 \
    # python3-dev \
    # python3-numpy \
    python3-pip \
    # python3-setuptools \
    openssl \
    # libffi-dev \
    # libssl-dev \
    # python3-wheel \ 
 && rm -rf /var/lib/apt/lists/*

COPY requirements.txt .
RUN pip3 install -r requirements.txt
RUN pip3 list

# RUN useradd -m -u 1000 user

# USER user

WORKDIR /app
COPY . /app

EXPOSE 7860

ENTRYPOINT ["python3","app.py"]