mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-20 20:01:17 +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
|
||||
GOPATH: /go
|
||||
MOD_MODE: readonly
|
||||
NODE_ENV: production
|
||||
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
|
||||
|
||||
ENV CGO_ENABLED=0 \
|
||||
GOPATH=/go
|
||||
GOPATH=/go \
|
||||
NODE_ENV=production
|
||||
|
||||
RUN set -ex \
|
||||
&& pacman -Syy --noconfirm \
|
||||
|
|
Loading…
Reference in a new issue