Skip to content

Commit

Permalink
Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ixre committed Feb 15, 2021
1 parent 6b9183e commit c3f827c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ FROM golang:latest AS build
ENV GOPATH=/gobuild
COPY ./app ./app
COPY ./core ./core
COPY ./assets ./assets
COPY ./*.go go.mod LICENSE README.md app.conf ./

ENV GOPROXY=https://goproxy.cn,direct
Expand All @@ -26,6 +25,7 @@ ENV GO2O_NATS_ADDR=172.17.0.1:4222

WORKDIR /app
COPY --from=build /opt/go2o/dist/* /app/
COPY ./assets ./assets

RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && \
apk --update add tzdata ca-certificates && \
Expand Down

0 comments on commit c3f827c

Please sign in to comment.