go backend #1

Merged
ange merged 3 commits from devel into prod 2024-09-28 16:16:53 +00:00
Showing only changes of commit b7236c580d - Show all commits

View File

@ -1,9 +1,9 @@
FROM docker.io/golang:1.23 as app
FROM docker.io/golang:1.23 as build
COPY src/ .
RUN printf 'module yw5n\ngo 1.23' > go.mod && CGO_ENABLED=0 go build -o /app
FROM scratch
COPY --from=app /app /app
COPY --from=build /app /app
COPY static/ /static/
COPY html/ /html/
EXPOSE 3000