tiktok/Dockerfile
2023-05-21 16:44:38 +08:00

17 lines
329 B
Docker

# This Dockerfile is used to build an Python environment
FROM python:3.9-slim-bullseye
LABEL maintainer="imgyh<admin@imgyh.com>"
WORKDIR /app
ADD . $WORKDIR
RUN sed -i s/deb.debian.org/mirrors.aliyun.com/g /etc/apt/sources.list
RUN pip3 install -r requirements_docker.txt
ENV TZ=Asia/Shanghai
CMD ["python3", "WebApi.py"]