0
0
mirror of https://github.com/vx3r/wg-gen-web.git synced 2024-11-04 17:31:17 +00: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"]