FROM scratch
LABEL maintainer="Jose Quintana <joseluisq.net>"
COPY ./bin/static-web-server /
COPY ./public /public
EXPOSE 80
VOLUME ["/public"]
ENTRYPOINT ["/static-web-server"]
LABEL org.opencontainers.image.vendor="Jose Quintana" \
org.opencontainers.image.url="https://git.joseluisq.net/joseluisq/static-web-server" \
org.opencontainers.image.title="Static Web Server" \
org.opencontainers.image.description="A blazing fast web server to static files-serving powered by Rust." \
org.opencontainers.image.version="v1.0.0" \
org.opencontainers.image.documentation="https://git.joseluisq.net/joseluisq/static-web-server"