tmpchat / cmd / frontend / Dockerfile

@ 92088b1e84b306d8d1b27270fc1e6bddf96c0d20 | history


FROM golang:1.19-alpine as builder
WORKDIR /build
COPY . .
RUN go build  -o tmpchat_frontend cmd/frontend/*.go

FROM alpine
COPY --from=builder /build/tmpchat_frontend /
COPY --from=builder /build/cmd/frontend/templates /templates
CMD ["/tmpchat_frontend"]