Browse Source

Add Dockerfile

pull/1/head
Jan-Lukas Else 1 year ago
parent
commit
6f09bc8b10
  1. 11
      Dockerfile

11
Dockerfile

@ -0,0 +1,11 @@
FROM golang:1.14-alpine as build
ADD . /app
WORKDIR /app
RUN go build
FROM alpine:3.11
RUN apk add --no-cache tzdata ca-certificates
COPY --from=build /app/mailygo /bin/
WORKDIR /app
EXPOSE 8080
CMD ["mailygo"]
Loading…
Cancel
Save