feat: html static templates

This commit is contained in:
ange 2024-12-14 08:34:47 +00:00
parent 9d0da00371
commit e9fc659a5a
Signed by: ange
GPG key ID: 9E0C4157BB7BEB1D
12 changed files with 91 additions and 100 deletions

View file

@ -6,8 +6,9 @@ COPY src/ .
RUN CGO_ENABLED=0 go build -o /app
FROM scratch
COPY --from=build /app /app
COPY static/ /static/
COPY html/ /html/
COPY --from=build /app .
COPY html/ html/
COPY static/ static/
COPY tmpl/ tmpl/
EXPOSE 3000
CMD ["/app"]
CMD ["./app"]