dockerfile ENV
This commit is contained in:
parent
98adcf1415
commit
57e77aa4f9
|
@ -2,6 +2,8 @@ FROM python:3.7-alpine
|
|||
|
||||
LABEL AUTHOR="DavidZ"
|
||||
|
||||
ENV ENV PROD
|
||||
|
||||
# 更改alpine镜像源并安装依赖
|
||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirror.tuna.tsinghua.edu.cn/g' /etc/apk/repositories \
|
||||
&& apk add -U --no-cache gcc musl-dev postgresql-dev
|
||||
|
|
Loading…
Reference in New Issue