File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
2+ # check=skip=SecretsUsedInArgOrEnv
23
34ARG ALPINE_VERSION=3.21
45
56FROM ghcr.io/kjdev/nginx-auth-jwt/nginx AS auth-jwt
67FROM ghcr.io/kjdev/nginx-keyval/nginx AS keyval
78
89# ## nginx ###
9- FROM alpine:${ALPINE_VERSION} as nginx
10+ FROM alpine:${ALPINE_VERSION} AS nginx
1011
1112RUN apk --no-cache upgrade \
1213 && apk --no-cache add \
@@ -22,7 +23,7 @@ RUN apk --no-cache upgrade \
2223 && rm -f /etc/nginx/http.d/default.conf \
2324 && mkdir -p /etc/nginx/conf.d \
2425 && mkdir -p /var/cache/nginx \
25- && chown -R nginx. /etc/nginx/conf.d /etc/nginx/http.d /var/cache/nginx
26+ && chown -R nginx:nginx /etc/nginx/conf.d /etc/nginx/http.d /var/cache/nginx
2627
2728COPY --from=auth-jwt /usr/lib/nginx/modules/ngx_http_auth_jwt_module.so /usr/lib/nginx/modules/
2829COPY --from=auth-jwt /etc/nginx/modules/auth_jwt.conf /etc/nginx/modules/
You can’t perform that action at this time.
0 commit comments