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.
 
 

10 lines
214 B

  1. FROM golang:1.15-alpine3.12 as build
  2. ADD . /app
  3. WORKDIR /app
  4. RUN go build
  5. FROM alpine:3.12
  6. RUN apk add --no-cache tzdata ca-certificates
  7. COPY --from=build /app/hugo-micropub /bin/
  8. EXPOSE 5555
  9. CMD ["hugo-micropub"]