mirror of
https://github.com/Luzifer/ots.git
synced 2024-10-01 01:06:09 -04:00
Build Docker image in production mode
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
8c0807d486
commit
a098395daf
@ -1,7 +1,8 @@
|
||||
FROM luzifer/archlinux as builder
|
||||
|
||||
ENV CGO_ENABLED=0 \
|
||||
GOPATH=/go
|
||||
GOPATH=/go \
|
||||
NODE_ENV=production
|
||||
|
||||
COPY . /go/src/github.com/Luzifer/ots
|
||||
WORKDIR /go/src/github.com/Luzifer/ots
|
||||
|
@ -1,7 +1,8 @@
|
||||
FROM luzifer/archlinux as builder
|
||||
|
||||
ENV CGO_ENABLED=0 \
|
||||
GOPATH=/go
|
||||
GOPATH=/go \
|
||||
NODE_ENV=production
|
||||
|
||||
COPY . /go/src/github.com/Luzifer/ots
|
||||
WORKDIR /go/src/github.com/Luzifer/ots
|
||||
|
Loading…
Reference in New Issue
Block a user