hugo-micropub/Dockerfile

10 lines
214 B
Docker
Raw Permalink Normal View History

2020-09-14 13:51:07 +00:00
FROM golang:1.15-alpine3.12 as build
2019-11-07 10:00:24 +00:00
ADD . /app
WORKDIR /app
RUN go build
2020-06-09 10:00:30 +00:00
FROM alpine:3.12
2019-12-22 18:31:22 +00:00
RUN apk add --no-cache tzdata ca-certificates
2019-11-07 10:00:24 +00:00
COPY --from=build /app/hugo-micropub /bin/
EXPOSE 5555
CMD ["hugo-micropub"]