0
0
mirror of https://github.com/vx3r/wg-gen-web.git synced 2025-09-10 12:14:28 +00:00

add version in back and front #16 / client can ignore global PK #17 / #18 email is now optional

This commit is contained in:
vx3r
2020-02-25 15:56:04 +09:00
parent 2f2b27c499
commit 1d599c401b
9 changed files with 78 additions and 62 deletions

View File

@ -1,7 +1,7 @@
FROM golang:alpine AS build-back
WORKDIR /app
COPY . .
RUN go build -o wg-gen-web-linux
RUN GIT_COMMIT=$(git rev-parse --short HEAD) && go build -ldflags "-X main.VersionGitCommit=$GIT_COMMIT" go build -o wg-gen-web-linux
FROM node:10-alpine AS build-front
WORKDIR /app