mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
abb10159b9
Docker版基于alpine构建,轻量化。 已知缺点:中文显示不全。 推荐将结果导出后浏览 后期维护考虑改为Ubuntu作为基础镜像
14 lines
442 B
Docker
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"]
|