1
1
mirror of https://github.com/vx3r/wg-gen-web.git synced 2024-11-23 02:42:07 +01:00

Merge pull request #112 from ThatAnonyG/fix/dockerfile

fix(dockerfile): should fix the failing CI
This commit is contained in:
vx3r 2022-11-03 14:43:37 +01:00 committed by GitHub
commit 6d4413d173
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -6,7 +6,7 @@ ARG COMMIT
COPY . . COPY . .
RUN go build -o wg-gen-web-linux -ldflags="-X 'github.com/vx3r/wg-gen-web/version.Version=${COMMIT}'" github.com/vx3r/wg-gen-web/cmd/wg-gen-web RUN go build -o wg-gen-web-linux -ldflags="-X 'github.com/vx3r/wg-gen-web/version.Version=${COMMIT}'" github.com/vx3r/wg-gen-web/cmd/wg-gen-web
FROM node:lts-alpine AS build-front FROM node:16-alpine AS build-front
WORKDIR /app WORKDIR /app
COPY ui/package*.json ./ COPY ui/package*.json ./
RUN npm install RUN npm install