Skip to content

Commit

Permalink
Merge pull request #112 from ThatAnonyG/fix/dockerfile
Browse files Browse the repository at this point in the history
fix(dockerfile): should fix the failing CI
  • Loading branch information
vx3r authored Nov 3, 2022
2 parents c0af160 + ce65b1b commit 6d4413d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"]

0 comments on commit 6d4413d

Please sign in to comment.