Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mxmar committed Nov 21, 2024
1 parent 5194deb commit f34d306
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
@@ -1,4 +1,4 @@
FROM node:latest AS frontendBuilder
FROM node:latest AS frontend-builder
WORKDIR /src
COPY . .
RUN make build-web
Expand All @@ -8,7 +8,7 @@ WORKDIR /src
COPY go.sum go.mod ./
RUN go mod download
COPY . .
COPY --from=frontendBuilder /src/web /src/web
COPY --from=frontend-builder /src/web /src/web
RUN CGO_ENABLED=0 go build -o /bin/app .

FROM ubuntu:latest
Expand Down

0 comments on commit f34d306

Please sign in to comment.