- 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:
Simon Marsh
2021-01-11 13:13:21 +00:00
parent 8d0e210572
commit 6179c688be
19 changed files with 463 additions and 229 deletions

View File

@@ -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