dockerfile使用python3.10.2版本
安装whl模式的beancount扩展库,支持beancount账户科目二级和二级以下科目中英文 已修改 dockerfile 已添加 beancount-2.3.4-cp310-cp310-linux_x86_64.whl Signed-off-by: RenLangMan <liangzai450@sina.com>
This commit is contained in:
parent
5adba01d8a
commit
aeea43fdbe
Binary file not shown.
10
dockerfile
10
dockerfile
|
|
@ -12,15 +12,13 @@ COPY . .
|
|||
COPY public/icons ./public/default_icons
|
||||
RUN go build .
|
||||
|
||||
FROM python:3.8
|
||||
FROM python:3.10.2
|
||||
RUN python3 -m pip install -U pip setuptools wheel -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
|
||||
COPY ./beancount-2.3.4-cp38-cp38-linux_x86_64.whl /tmp
|
||||
RUN pip3 install /tmp/beancount-2.3.4-cp38-cp38-linux_x86_64.whl -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
|
||||
# COPY ./fava-1.18-py3-none-any.whl /tmp
|
||||
# RUN pip3 install /tmp/fava-1.18-py3-none-any.whl -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
COPY ./beancount-2.3.4-cp310-cp310-linux_x86_64.whl /tmp
|
||||
COPY ./fava-1.18-py3-none-any.whl /tmp
|
||||
|
||||
RUN pip3 install /tmp/beancount-2.3.4-cp310-cp310-linux_x86_64.whl /tmp/fava-1.18-py3-none-any.whl -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
|
||||
WORKDIR /app
|
||||
COPY --from=builder ./builder/public ./public
|
||||
|
|
|
|||
Loading…
Reference in New Issue