Compare commits
No commits in common. "main" and "dev" have entirely different histories.
11
docker/Dockerfile-old
Normal file
11
docker/Dockerfile-old
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# 基于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