missing prose
This commit is contained in:
parent
33cf2dcac7
commit
90117e7b0f
1 changed files with 3 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ FROM golang:1.23-alpine AS builder
|
||||||
RUN apk update
|
RUN apk update
|
||||||
RUN apk add git
|
RUN apk add git
|
||||||
RUN apk add curl
|
RUN apk add curl
|
||||||
|
RUN apk add nodejs npm
|
||||||
|
|
||||||
# Set the working directory inside the container
|
# Set the working directory inside the container
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
@ -21,6 +22,8 @@ COPY . .
|
||||||
RUN go get github.com/maddalax/htmgo/framework@latest
|
RUN go get github.com/maddalax/htmgo/framework@latest
|
||||||
RUN go mod tidy
|
RUN go mod tidy
|
||||||
|
|
||||||
|
RUN npm install
|
||||||
|
|
||||||
# Build the Go binary for Linux
|
# Build the Go binary for Linux
|
||||||
RUN LOG_LEVEL=debug GOPRIVATE=github.com/maddalax GOPROXY=direct go run github.com/maddalax/htmgo/cli/htmgo@latest build
|
RUN LOG_LEVEL=debug GOPRIVATE=github.com/maddalax GOPROXY=direct go run github.com/maddalax/htmgo/cli/htmgo@latest build
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue