diff --git a/.repo-runner.yaml b/.repo-runner.yaml index 8067666..5a7317a 100644 --- a/.repo-runner.yaml +++ b/.repo-runner.yaml @@ -15,4 +15,5 @@ environment: GO111MODULE: on GOPATH: /go MOD_MODE: readonly + NODE_ENV: production PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/go/bin diff --git a/Dockerfile b/Dockerfile index a520ced..631c940 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,8 @@ COPY . /go/src/github.com/Luzifer/twitch-bot WORKDIR /go/src/github.com/Luzifer/twitch-bot ENV CGO_ENABLED=0 \ - GOPATH=/go + GOPATH=/go \ + NODE_ENV=production RUN set -ex \ && pacman -Syy --noconfirm \