Go Embed!

This commit is contained in:
2024-02-08 19:30:22 -07:00
parent 74516d3719
commit 014fb3a35c
8 changed files with 63 additions and 36 deletions

View File

@ -10,8 +10,5 @@ RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /go/bin/app
FROM gcr.io/distroless/base-debian12
COPY --from=build /go/bin/app /
COPY --from=build /app/content /content
COPY --from=build /app/pages /pages
COPY --from=build /app/public /public
CMD [ "/app" ]