Skip to content

Commit

Permalink
docker_docs (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ujstor authored Oct 11, 2024
1 parent f6c4eb6 commit 9f230cd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/docs/advanced-flag/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ RUN apk add --no-cache curl

WORKDIR /app

COPY go.mod go.sum ./
RUN go mod download

COPY . .

RUN go mod download && \
go install github.com/a-h/templ/cmd/templ@latest && \
RUN go install github.com/a-h/templ/cmd/templ@latest && \
templ generate && \
curl -sL https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-linux-x64 -o tailwindcss && \
chmod +x tailwindcss && \
Expand Down

0 comments on commit 9f230cd

Please sign in to comment.