Files
OneForAll-mirror/Dockerfile
T
milktea abb10159b9 Add Docker supports
Docker版基于alpine构建,轻量化。
已知缺点:中文显示不全。
推荐将结果导出后浏览
后期维护考虑改为Ubuntu作为基础镜像
2019-12-04 20:24:46 +08:00

14 lines
442 B
Docker

FROM python:3.8-alpine3.10
MAINTAINER milktea@vmoe.info
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
#RUN apk --no-cache add git
RUN apk --no-cache add git build-base libffi-dev libxml2-dev libxslt-dev libressl-dev
RUN git clone https://github.com/shmilylty/OneForAll
RUN pip install -r /OneForAll/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
WORKDIR /OneForAll
ENTRYPOINT ["/bin/ash"]