diff --git a/.gitignore b/.gitignore index d44addc..78ff441 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .env.development .env.production -.env \ No newline at end of file +.env +.netrc \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 5b9aa28..bbfb974 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,11 @@ FROM golang:alpine +RUN apk add git ENV MODE=production +ENV GOPRIVATE=github.com/tribalwarshelp + +COPY ./.netrc /root/.netrc +RUN chmod 600 /root/.netrc WORKDIR /go/src/app COPY . .