Skip to content

Commit

Permalink
remove ui from dockerfile too
Browse files Browse the repository at this point in the history
  • Loading branch information
ferama committed Apr 18, 2023
1 parent f8dec11 commit e5797de
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions hack/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
# react frontend builder
FROM node:16-alpine as uibuilder
WORKDIR /src
COPY pkg/web/ui .
RUN npm install && npm run build

# go backend builder
FROM golang:1.20 as gobuilder
ARG VERSION=development
WORKDIR /go/src/app
COPY . .
COPY --from=uibuilder /src/build pkg/web/ui/build
RUN go build \
-trimpath \
-ldflags="-s -w -X 'github.com/ferama/rospo/cmd.Version=$VERSION'" \
Expand Down

0 comments on commit e5797de

Please sign in to comment.