修改文件

This commit is contained in:
liangzai450 2022-02-10 03:18:35 +08:00 committed by 初意
parent 10154d130b
commit c6d6f07af4
6 changed files with 8 additions and 5 deletions

View File

@ -7,18 +7,21 @@ ENV GO111MODULE=on \
PORT=80 PORT=80
WORKDIR /builder WORKDIR /builder
COPY . . 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.8
RUN pip3 install setuptools wheel -i https://pypi.tuna.tsinghua.edu.cn/simple RUN pip3 install setuptools wheel -i https://pypi.tuna.tsinghua.edu.cn/simple
RUN pip3 install setuptools wheel -i https://pypi.tuna.tsinghua.edu.cn/simple && pip3 install beancount-2.3.4-cp38-cp38-linux_x86_64.whl
&& pip3 install fava-1.18-py3-none-any.whl
WORKDIR /app WORKDIR /app
COPY --from=builder ./builder/public ./public COPY --from=builder ./builder/public ./public
COPY --from=builder ./builder/config ./config && COPY --from=builder ./builder/config ./config
COPY --from=builder ./builder/template ./template && COPY --from=builder ./builder/template ./template
COPY --from=builder ./builder/beancount-gs* ./ && COPY --from=builder ./builder/beancount-gs* ./
EXPOSE 80 EXPOSE 80

Binary file not shown.

Binary file not shown.