diff options
Diffstat (limited to '')
| -rw-r--r-- | build/nginx/Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build/nginx/Dockerfile b/build/nginx/Dockerfile index f74d555..e78dd02 100644 --- a/build/nginx/Dockerfile +++ b/build/nginx/Dockerfile @@ -1,4 +1,5 @@ -FROM alpine:latest +ARG ALPINE_VERSION="3.23" +FROM alpine:${ALPINE_VERSION} # install packages RUN apk add --no-cache nginx shadow curl tini @@ -22,7 +23,7 @@ RUN chown -R nginx:nginx /etc/nginx # copy entrypoint COPY ./entrypoint.sh /usr/local/bin/entrypoint -RUN chmod +x /usr/local/bin/entrypoint +RUN chmod +rx /usr/local/bin/entrypoint # do the USER nginx |