1
Fork 0
This repository has been archived on 2020-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
WebmentionHelper/Dockerfile

13 lines
283 B
Docker
Raw Permalink Normal View History

2020-04-25 09:38:15 +00:00
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/webmentionhelper /bin/
WORKDIR /app
VOLUME /app/storage
EXPOSE 8080
ENV LAST_ARTICLE_DIR /app/storage
CMD ["webmentionhelper"]