index : static-web-server.git

ascending towards madness

author Jose Quintana <joseluisquintana20@gmail.com> 2022-02-08 22:35:54.0 +00:00:00
committer Jose Quintana <joseluisquintana20@gmail.com> 2022-02-08 22:35:54.0 +00:00:00
commit
65007f957914d6c16f3e7922c04bbbb6ca9222da [patch]
tree
5bd7705883197e09d05771871b5039cd6c7491a9
parent
52b91623e4be60d705fb8a511275f1f96a24e50d
download
65007f957914d6c16f3e7922c04bbbb6ca9222da.tar.gz

fix: wrong binary path for alpine docker image



Diff

 docker/alpine/Dockerfile | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/docker/alpine/Dockerfile b/docker/alpine/Dockerfile
index 4dbfad0..16f7038 100644
--- a/docker/alpine/Dockerfile
+++ b/docker/alpine/Dockerfile
@@ -4,10 +4,6 @@ ARG TARGETPLATFORM
ARG SERVER_VERSION=0.0.0
ENV SERVER_VERSION=${SERVER_VERSION}

LABEL version="${SERVER_VERSION}" \
    description="A blazing fast and asynchronous web server for static files-serving." \
    maintainer="Jose Quintana <joseluisq.net>"

RUN apk --no-cache add ca-certificates tzdata
RUN set -ex; \
	case "$TARGETPLATFORM" in \
@@ -26,7 +22,16 @@ RUN set -ex; \

FROM alpine:3.14

COPY --from=build /usr/local/bin/static-web-server /
ARG SERVER_VERSION=0.0.0
ENV SERVER_VERSION=${SERVER_VERSION}

LABEL version="${SERVER_VERSION}" \
    description="A blazing fast and asynchronous web server for static files-serving." \
    maintainer="Jose Quintana <joseluisq.net>"

RUN apk --no-cache add ca-certificates tzdata

COPY --from=build /usr/local/bin/static-web-server /usr/local/bin/
COPY ./docker/alpine/entrypoint.sh /
COPY ./docker/public /public