mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-30 00:21:16 +00:00
[ci] Set application to production mode on publish
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
71ea4a0c34
commit
900e478e00
2 changed files with 3 additions and 1 deletions
|
@ -15,4 +15,5 @@ environment:
|
||||||
GO111MODULE: on
|
GO111MODULE: on
|
||||||
GOPATH: /go
|
GOPATH: /go
|
||||||
MOD_MODE: readonly
|
MOD_MODE: readonly
|
||||||
|
NODE_ENV: production
|
||||||
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/go/bin
|
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/go/bin
|
||||||
|
|
|
@ -4,7 +4,8 @@ COPY . /go/src/github.com/Luzifer/twitch-bot
|
||||||
WORKDIR /go/src/github.com/Luzifer/twitch-bot
|
WORKDIR /go/src/github.com/Luzifer/twitch-bot
|
||||||
|
|
||||||
ENV CGO_ENABLED=0 \
|
ENV CGO_ENABLED=0 \
|
||||||
GOPATH=/go
|
GOPATH=/go \
|
||||||
|
NODE_ENV=production
|
||||||
|
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
&& pacman -Syy --noconfirm \
|
&& pacman -Syy --noconfirm \
|
||||||
|
|
Loading…
Reference in a new issue