1
1
mirror of https://github.com/vx3r/wg-gen-web.git synced 2024-11-22 02:31:57 +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 . .
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
COPY ui/package*.json ./
RUN npm install
@ -22,4 +22,4 @@ RUN chmod +x ./wg-gen-web-linux
RUN apk add --no-cache ca-certificates
EXPOSE 8080
CMD ["/app/wg-gen-web-linux"]
CMD ["/app/wg-gen-web-linux"]