Skip to content

Commit

Permalink
fix(deploy): Dockerfile with go private repo
Browse files Browse the repository at this point in the history
  • Loading branch information
incubator4 committed Jan 9, 2024
1 parent 683f3cc commit 4f076f8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ WORKDIR /root/gi
RUN apk add --no-cache git make gcc libc-dev

COPY go.mod go.sum ./

ENV GOPRIVATE="github.com/naturalselectionlabs/rss3-node"
ENV GH_USER=$GH_USER
ENV GH_TOKEN=$GH_TOKEN

RUN go mod download
COPY . .

Expand Down

0 comments on commit 4f076f8

Please sign in to comment.