1
1
mirror of https://github.com/vx3r/wg-gen-web.git synced 2024-11-22 02:31:57 +01:00

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

@ -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
@ -22,4 +22,4 @@ RUN chmod +x ./wg-gen-web-linux
RUN apk add --no-cache ca-certificates RUN apk add --no-cache ca-certificates
EXPOSE 8080 EXPOSE 8080
CMD ["/app/wg-gen-web-linux"] CMD ["/app/wg-gen-web-linux"]