A simple way to handle form submissions from static websites.
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.

12 lines
266 B

4 years ago
4 years ago
4 years ago
  1. FROM golang:1.14-alpine as build
  2. RUN apk add --no-cache gcc musl-dev tzdata
  3. ADD . /app
  4. WORKDIR /app
  5. RUN go test
  6. RUN go build
  7. FROM alpine:3.11
  8. RUN apk add --no-cache tzdata ca-certificates
  9. COPY --from=build /app/mailygo /bin/
  10. WORKDIR /app
  11. EXPOSE 8080
  12. CMD ["mailygo"]