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