Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e2a41693a2 | ||
|
|
56c4e0dc8d |
@ -1,11 +0,0 @@
|
|||||||
# 基于python3.6镜像来构建owllook镜像
|
|
||||||
FROM python:3.6
|
|
||||||
MAINTAINER howie6879 <howie6879@gmail.com>
|
|
||||||
ENV TIME_ZONE=Asia/Shanghai
|
|
||||||
RUN echo "${TIME_ZONE}" > /etc/timezone \
|
|
||||||
&& ln -sf /usr/share/zoneinfo/${TIME_ZONE} /etc/localtime
|
|
||||||
ADD . /owllook
|
|
||||||
WORKDIR /owllook
|
|
||||||
RUN pip install --no-cache-dir --trusted-host mirrors.aliyun.com -i http://mirrors.aliyun.com/pypi/simple/ pipenv
|
|
||||||
RUN pipenv install --skip-lock
|
|
||||||
RUN find . -name "*.pyc" -delete
|
|
||||||
Loading…
Reference in New Issue
Block a user