Micropub endpoint for my blog
https://jlelse.blog/posts/hugo-micropub/
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
10 lines
214 B
FROM golang:1.15-alpine3.12 as build
|
|
ADD . /app
|
|
WORKDIR /app
|
|
RUN go build
|
|
|
|
FROM alpine:3.12
|
|
RUN apk add --no-cache tzdata ca-certificates
|
|
COPY --from=build /app/hugo-micropub /bin/
|
|
EXPOSE 5555
|
|
CMD ["hugo-micropub"]
|