dirl/Dockerfile

10 lines
308 B
Docker
Raw Normal View History

2020-09-01 20:50:47 +00:00
FROM alpine
RUN adduser web --disabled-password --no-create-home --shell /sbin/nologin && \
addgroup web web && \
mkdir -p /var/www/html
2020-09-01 22:30:40 +00:00
COPY dirl-musl-x86_64 /usr/local/bin/dirl
2020-09-01 20:50:47 +00:00
ENTRYPOINT ["dirl", "-p", "80", "-u", "web", "-g", "web", "-n", "4096", "-h", "0.0.0.0", "-l", "-d", "/var/www/html"]