mirror of
https://github.com/go-shiori/shiori.git
synced 2024-11-10 09:23:35 +08:00
7688990ea1
This reverts commit f316cb, which done because of my curiousity, without reading any documentation from Heroku.
17 lines
No EOL
436 B
Docker
17 lines
No EOL
436 B
Docker
FROM golang:1.13-alpine as builder
|
|
|
|
RUN apk update && apk --no-cache add git build-base
|
|
RUN go get -u -v github.com/go-shiori/shiori
|
|
|
|
# ========== END OF BUILDER ========== #
|
|
|
|
FROM alpine:latest
|
|
|
|
RUN apk update && apk --no-cache add dumb-init ca-certificates
|
|
COPY --from=builder /go/bin/shiori /usr/local/bin/shiori
|
|
|
|
ENV SHIORI_DIR /srv/shiori/
|
|
EXPOSE 8080
|
|
|
|
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
|
|
CMD ["/usr/local/bin/shiori", "serve"] |