fork/static-web-server

git clone https://git.julia.blue/fork/static-web-server

Jose Quintanarefactor: Rootless Debian and Alpine Docker images by default (#567)b234984

allow-symlink
852 B25 linesraw
1FROM scratch
2
3ENV SERVER_VERSION=devel
4
5LABEL version="${SERVER_VERSION}" \
6    description="A cross-platform, high-performance and asynchronous web server for static files-serving." \
7    maintainer="Jose Quintana <joseluisq.net>"
8
9COPY ./docker/devel/static-web-server /
10COPY ./docker/public /public
11
12EXPOSE 80
13
14STOPSIGNAL SIGQUIT
15
16ENTRYPOINT ["/static-web-server"]
17
18
19# Metadata
20LABEL org.opencontainers.image.vendor="Jose Quintana" \
21    org.opencontainers.image.url="https://github.com/static-web-server/static-web-server" \
22    org.opencontainers.image.title="Static Web Server" \
23    org.opencontainers.image.description="A cross-platform, high-performance and asynchronous web server for static files-serving." \
24    org.opencontainers.image.version="$SERVER_VERSION" \
25    org.opencontainers.image.documentation="https://static-web-server.net"