feat: html static templates
This commit is contained in:
parent
9d0da00371
commit
e9fc659a5a
12 changed files with 91 additions and 100 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue