tmpchat / cmd / frontend / Dockerfile

@ bcd041d4b6a82d137e64da56d01597b93ca6ce8c | 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"]