fix:修复Dockerfile文件

pull/358/head
lifei6671 2018-09-17 17:44:55 +08:00
parent 2b8bd2cfb2
commit b3d6c30d5a
1 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,8 @@ COPY --from=build /var/glibc-bin.apk .
COPY --from=build /etc/apk/keys/sgerrand.rsa.pub /etc/apk/keys/sgerrand.rsa.pub COPY --from=build /etc/apk/keys/sgerrand.rsa.pub /etc/apk/keys/sgerrand.rsa.pub
COPY --from=build /var/linux-installer.py . COPY --from=build /var/linux-installer.py .
COPY --from=build /usr/share/fonts/win/simsun.ttc /usr/share/fonts/win/ COPY --from=build /usr/share/fonts/win/simsun.ttc /usr/share/fonts/win/
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=build /go/src/github.com/lifei6671/mindoc .
RUN apk add glibc-bin.apk glibc.apk && \ RUN apk add glibc-bin.apk glibc.apk && \
/usr/glibc-compat/sbin/ldconfig /lib /usr/glibc-compat/lib && \ /usr/glibc-compat/sbin/ldconfig /lib /usr/glibc-compat/lib && \
@ -82,7 +83,6 @@ RUN cat linux-installer.py | python -c "import sys; main=lambda x,y:sys.stderr.w
WORKDIR /mindoc WORKDIR /mindoc
COPY --from=0 /go/src/github.com/lifei6671/mindoc .
# 时区设置 # 时区设置
ENV TZ=Asia/Shanghai ENV TZ=Asia/Shanghai