This repository has been archived on 2020-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
|
FROM golang:1.13-alpine as build
|
|
ADD . /app
|
|
WORKDIR /app
|
|
RUN go build
|
|
|
|
FROM alpine:3.10
|
|
RUN apk add --no-cache tzdata ca-certificates && update-ca-certificates
|
|
COPY --from=build /app/hugo-micropub /bin/
|
|
EXPOSE 5555
|
|
CMD ["hugo-micropub"] |