You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
380 B
Docker

5 months ago
FROM ubuntu:20.04
RUN mkdir /opt/app
COPY . /opt/app/
WORKDIR /opt/app
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get upgrade -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python3.10 python3-pip
RUN pip3 install --default-timeout=300 -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
RUN chmod 777 entrypoint.sh
ENTRYPOINT ["./entrypoint.sh"]