Selenium-Script / Dockerfile
Container's picture
Update Dockerfile
5c099c7 verified
raw
history blame
555 Bytes
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"]