作者 Administrator

更新 Dockerfile

正在显示 1 个修改的文件 包含 1 行增加1 行删除
@@ -23,5 +23,5 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories @@ -23,5 +23,5 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
23 && rm -rf /var/cache/apk/* /tmp/* /var/tmp/* $HOME/.cache ## 清除缓存 23 && rm -rf /var/cache/apk/* /tmp/* /var/tmp/* $HOME/.cache ## 清除缓存
24 WORKDIR /root/ 24 WORKDIR /root/
25 COPY --from=builder /go/src/opp . 25 COPY --from=builder /go/src/opp .
26 -EXPOSE 8080 26 +EXPOSE 8080 443
27 CMD ["./opp"] 27 CMD ["./opp"]