MihoyoBBSTools/Dockerfile.arm64v8

20 lines
534 B
Docker
Raw Normal View History

2022-07-18 09:53:10 +00:00
FROM arm64v8/python:3-alpine
COPY qemu-arm-static /usr/bin/
LABEL maintainer="x.yangtze.river@gmail.com"
ENV CRON_SIGNIN='30 9 * * *'
ENV MULTI=TRUE
ENV TZ=Asia/Shanghai
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories \
&& apk add --no-cache tzdata
WORKDIR /tmp
ADD requirements.txt ./
2022-08-23 16:38:45 +00:00
RUN apk add --no-cache gcc musl-dev python3-dev
2022-08-23 16:26:06 +00:00
RUN pip3 install -i https://mirrors.cloud.tencent.com/pypi/simple -r requirements.txt
2022-07-18 09:53:10 +00:00
WORKDIR /var/app
COPY . /var/app
CMD ["python3", "./docker.py" ]