This commit is contained in:
Jose Quintana
2020-03-04 09:36:25 +01:00
parent d0e7a7fc05
commit 1b0d48fa20
4 changed files with 7 additions and 5 deletions

2
Cargo.lock generated
View File

@@ -876,7 +876,7 @@ checksum = "5c2fb2ec9bcd216a5b0d0ccf31ab17b5ed1d627960edff65bbe95d3ce221cefc"
[[package]]
name = "static-web-server"
version = "1.5.0"
version = "1.6.0"
dependencies = [
"chrono",
"env_logger",

View File

@@ -1,6 +1,6 @@
[package]
name = "static-web-server"
version = "1.5.0"
version = "1.6.0"
authors = ["Jose Quintana <https://git.io/joseluisq>"]
license = "MIT OR Apache-2.0"
description = "A blazing fast static files-serving web server powered by Rust Iron."

View File

@@ -1,4 +1,4 @@
FROM alpine:3.10
FROM alpine:3.11
LABEL maintainer="Jose Quintana <joseluisq.net>"
@@ -12,9 +12,11 @@ RUN set -ex; \
*) echo >&2 "error: unsupported architecture: $apkArch"; exit 1 ;; \
esac;
COPY ./docker/alpine/entrypoint.sh /
COPY ./bin/static-web-server /usr/local/bin/
COPY ./public /public
EXPOSE 80
ENTRYPOINT ["/entrypoint.sh"]
CMD ["static-web-server"]
# Metadata
@@ -22,5 +24,5 @@ LABEL org.opencontainers.image.vendor="Jose Quintana" \
org.opencontainers.image.url="https://github.com/joseluisq/static-web-server" \
org.opencontainers.image.title="Static Web Server" \
org.opencontainers.image.description="A blazing fast static files-serving web server powered by Rust Iron." \
org.opencontainers.image.version="v1.5.0" \
org.opencontainers.image.version="v1.6.0" \
org.opencontainers.image.documentation="https://github.com/joseluisq/static-web-server"

View File

@@ -14,5 +14,5 @@ LABEL org.opencontainers.image.vendor="Jose Quintana" \
org.opencontainers.image.url="https://github.com/joseluisq/static-web-server" \
org.opencontainers.image.title="Static Web Server" \
org.opencontainers.image.description="A blazing fast static files-serving web server powered by Rust Iron." \
org.opencontainers.image.version="v1.5.0" \
org.opencontainers.image.version="v1.6.0" \
org.opencontainers.image.documentation="https://github.com/joseluisq/static-web-server"