Skip to content

Commit

Permalink
chore: build ui in docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuildthecloud committed Oct 18, 2024
1 parent 924f449 commit d999952
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
FROM cgr.dev/chainguard/wolfi-base AS builder

# Install build dependencies
RUN apk add --no-cache go build-base
RUN apk add --no-cache go build-base npm make

# Set the working directory
WORKDIR /app

# Copy the source code
COPY . .

RUN make ui
# Use build cache for Go modules and build
RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/root/go/pkg/mod \
Expand Down

0 comments on commit d999952

Please sign in to comment.