You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile 358 B

123456789101112131415161718
  1. FROM golang:1.19 AS BACK
  2. WORKDIR /go/src/casibase
  3. COPY . .
  4. RUN go build -o server ./main.go
  5. FROM debian:latest AS STANDARD
  6. LABEL MAINTAINER="https://casibase.org/"
  7. ARG TARGETOS
  8. ARG TARGETARCH
  9. ENV BUILDX_ARCH="${TARGETOS:-linux}_${TARGETARCH:-amd64}"
  10. WORKDIR /
  11. COPY --from=BACK /go/src/casibase/ ./
  12. ENTRYPOINT ["/bin/bash"]
  13. CMD ["/docker-entrypoint.sh"]