quark-build/Dockerfile

12 lines
306 B
Text
Raw Normal View History

2020-08-18 20:30:33 +00:00
FROM alpine
2020-08-30 18:04:18 +00:00
RUN adduser web --disabled-password --no-create-home --shell /sbin/nologin && \
addgroup web web && \
mkdir -p /var/www/html
2020-08-30 17:10:52 +00:00
COPY suckless-quark/quark /usr/local/bin
2020-08-18 20:30:33 +00:00
2020-08-30 18:04:18 +00:00
EXPOSE 8080
ENTRYPOINT ["quark", "-p", "8080", "-u", "web", "-g", "web", "-n", "4096", "-l", "-d", "/var/www/html"]