fix(dockerfile): should fix the failing CI

This commit is contained in:
Ratul Saha 2022-11-03 17:39:50 +05:30
parent c0af160fab
commit ce65b1b1ce
1 changed files with 2 additions and 2 deletions

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