diff --git a/dockerfile b/dockerfile index 7de6a43..6298939 100644 --- a/dockerfile +++ b/dockerfile @@ -7,18 +7,21 @@ ENV GO111MODULE=on \ PORT=80 WORKDIR /builder + COPY . . -COPY public/icons ./public/default_icons + && COPY public/icons ./public/default_icons RUN go build . 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 + && pip3 install beancount-2.3.4-cp38-cp38-linux_x86_64.whl + && pip3 install fava-1.18-py3-none-any.whl + WORKDIR /app COPY --from=builder ./builder/public ./public -COPY --from=builder ./builder/config ./config -COPY --from=builder ./builder/template ./template -COPY --from=builder ./builder/beancount-gs* ./ + && COPY --from=builder ./builder/config ./config + && COPY --from=builder ./builder/template ./template + && COPY --from=builder ./builder/beancount-gs* ./ EXPOSE 80 \ No newline at end of file diff --git a/whl/beancount-2.3.4-cp38-cp38-linux_x86_64.whl b/whl/beancount-2.3.4-cp38-cp38-linux_x86_64.whl deleted file mode 100644 index ae15898..0000000 Binary files a/whl/beancount-2.3.4-cp38-cp38-linux_x86_64.whl and /dev/null differ diff --git a/whl/beancount-2.3.4-cp38-cp38-win32.whl b/whl/beancount-2.3.4-cp38-cp38-win32.whl deleted file mode 100644 index 8f5e8a9..0000000 Binary files a/whl/beancount-2.3.4-cp38-cp38-win32.whl and /dev/null differ diff --git a/whl/beancount-2.3.4-cp38-cp38-win_amd64.whl b/whl/beancount-2.3.4-cp38-cp38-win_amd64.whl deleted file mode 100644 index c7c53e0..0000000 Binary files a/whl/beancount-2.3.4-cp38-cp38-win_amd64.whl and /dev/null differ diff --git a/whl/beancount-2.3.4.tar.gz b/whl/beancount-2.3.4.tar.gz deleted file mode 100644 index da0235a..0000000 Binary files a/whl/beancount-2.3.4.tar.gz and /dev/null differ diff --git a/whl/fava-1.18-py3-none-any.whl b/whl/fava-1.18-py3-none-any.whl deleted file mode 100644 index b68d684..0000000 Binary files a/whl/fava-1.18-py3-none-any.whl and /dev/null differ