summaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: c3889dfb05983743863415f32ac22450249bd86e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM alpine

RUN apk update --no-cache && apk add --no-cache \
    busybox-extras \
    curl \
    darkhttpd \
    git \
    lua5.3 \
    lua-discount \
    lua-feedparser \
    lua-filesystem \
    lua-lustache \
    lua-lyaml \
    make \
    su-exec

WORKDIR /site
COPY . /site

RUN make all

ENTRYPOINT ["su-exec", "nobody:www-data", "darkhttpd", "/site/_out", "--port", "8000"]