Golang Web server to draw cards from The Tarot of the Silicon Dawn https://silicon-dawn.cards
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

19 lines
306 B

FROM golang:1.15 AS builder
ENV GOFLAGS="-mod=vendor"
WORKDIR /go/src/app
COPY . .
ARG CGO_ENABLED=0
RUN go install ./cmd/silicon-dawn
# Final Stage
FROM scratch AS production
EXPOSE 3200/tcp
COPY --from=builder /go/bin/silicon-dawn /
COPY templates /templates
COPY data /data
CMD ["./silicon-dawn"]