- Use bindata to package static file content in to the frontend binary
- Add golang templates to move HTML rendering out of the go code where possible - Add an endpoint for serving static files - Add URL escaping for servers and targets
This commit is contained in:
@@ -2,6 +2,7 @@ FROM golang:buster AS step_0
|
||||
ENV CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on
|
||||
WORKDIR /root
|
||||
COPY . .
|
||||
RUN go generate
|
||||
RUN go build -o /frontend
|
||||
|
||||
FROM scratch AS step_1
|
||||
|
||||
Reference in New Issue
Block a user