修复Dockerfile的权限问题

This commit is contained in:
darkatse 2022-04-19 18:30:40 +08:00
parent f7acdc24f7
commit 708d9951a1

View File

@ -1,10 +1,9 @@
FROM python:3-alpine
LABEL maintainer="mailto@wolfbolin.com"
LABEL maintainer="x.yangtze.river@gmail.com"
ENV CRON_SIGNIN='30 9 * * *'
ENV MULTI=TRUE
ENV TZ=Asia/Shanghai
RUN adduser app -D
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories \
&& apk add --no-cache tzdata
@ -12,7 +11,6 @@ WORKDIR /tmp
ADD requirements.txt ./
RUN pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt
USER app
WORKDIR /var/app
COPY . /var/app