docker_test / Dockerfile
Yusin's picture
Update Dockerfile
b942d7a
raw
history blame
549 Bytes
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
# you will also find guides on how best to write your Dockerfile
FROM ultrafunk/undetected-chromedriver:latest
RUN apt-get update \
&& apt-get install -y python3-pip python3-dev \
&& cd /usr/local/bin \
&& ln -s /usr/bin/python3 python \
&& pip3 --no-cache-dir install --upgrade pip \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN python -m pip install -r requirements.txt
COPY aberconnect.sh .
RUN chmod +x aberconnect.sh
ENTRYPOINT ["./aberconnect.sh"]