From a69f7452a0df6ab283235d6854b3de84b19d0405 Mon Sep 17 00:00:00 2001 From: Jose Quintana Date: Tue, 22 Jun 2021 02:09:26 +0200 Subject: [PATCH] fix: wrong stage image tag --- docker/scratch/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docker/scratch/Dockerfile b/docker/scratch/Dockerfile index e7bc9b7..d6a5343 100644 --- a/docker/scratch/Dockerfile +++ b/docker/scratch/Dockerfile @@ -1,13 +1,16 @@ +ARG SERVER_VERSION=0.0.0 + +FROM joseluisq/static-web-server:${SERVER_VERSION}-alpine AS latest + FROM scratch -ARG SERVER_VERSION=0.0.0 ENV SERVER_VERSION=${SERVER_VERSION} LABEL version="${SERVER_VERSION}" \ description="A blazing fast static files-serving web server powered by Rust Iron." \ maintainer="Jose Quintana " -COPY --from=joseluisq/static-web-server:${SERVER_VERSION}-alpine /usr/local/bin/static-web-server / +COPY --from=latest /usr/local/bin/static-web-server / COPY ./public /public EXPOSE 80 -- libgit2 1.7.2