Skip to content

Commit

Permalink
fixing tailwind
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottminns committed Nov 12, 2024
1 parent 084d256 commit 4803afd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,17 @@ ARG TARGETARCH
# Leverage a bind mount to the current directory to avoid having to copy the
# source code into the container.
RUN --mount=type=bind,source=static/css/input.css,target=static/css/input.css \
--mount=type=bind,source=./templates,target=./templates \
--mount=type=bind,source=main.go,target=main.go \
--mount=type=bind,source=go.sum,target=go.sum \
--mount=type=bind,source=go.mod,target=go.mod \
--mount=type=bind,source=./templates,target=./templates \
--mount=type=cache,target=static/css/ \
go generate

# Build the application.
# Leverage a cache mount to /go/pkg/mod/ to speed up subsequent builds.
# Leverage a bind mount to the current directory to avoid having to copy the
# source code into the container.
RUN --mount=type=cache,target=/go/pkg/mod/ \
--mount=type=cache,target=static/css/ \
--mount=type=bind,target=. \
CGO_ENABLED=0 GOARCH=$TARGETARCH go build -o /bin/server .

Expand Down

0 comments on commit 4803afd

Please sign in to comment.