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
b96d465a39
commit
afc1725b09
Binary file not shown.
10
dockerfile
10
dockerfile
|
|
@ -12,15 +12,13 @@ COPY . .
|
||||||
COPY public/icons ./public/default_icons
|
COPY public/icons ./public/default_icons
|
||||||
RUN go build .
|
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
|
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
|
COPY ./beancount-2.3.4-cp310-cp310-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
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
|
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
|
WORKDIR /app
|
||||||
COPY --from=builder ./builder/public ./public
|
COPY --from=builder ./builder/public ./public
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue