Skip to content

Commit

Permalink
chore(example): update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kjdev committed Dec 18, 2024
1 parent 9f11b57 commit 2b5d1e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# syntax=docker/dockerfile:1
# check=skip=SecretsUsedInArgOrEnv

ARG ALPINE_VERSION=3.21

Expand All @@ -22,7 +23,7 @@ RUN apk --no-cache upgrade \
&& rm -f /etc/nginx/http.d/default.conf \
&& mkdir -p /etc/nginx/conf.d \
&& mkdir -p /var/cache/nginx \
&& chown -R nginx. /etc/nginx/conf.d /etc/nginx/http.d /var/cache/nginx
&& chown -R nginx:nginx /etc/nginx/conf.d /etc/nginx/http.d /var/cache/nginx

COPY --from=auth-jwt /usr/lib/nginx/modules/ngx_http_auth_jwt_module.so /usr/lib/nginx/modules/
COPY --from=auth-jwt /etc/nginx/modules/auth_jwt.conf /etc/nginx/modules/
Expand Down

0 comments on commit 2b5d1e2

Please sign in to comment.