fix: use COPY --chmod for Kong entrypoint (non-root image)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
48e47975ca
commit
7dd7de4a22
|
|
@ -1,8 +1,7 @@
|
|||
FROM kong:3.7
|
||||
|
||||
COPY config/kong.yml /etc/kong/kong.yml.tpl
|
||||
COPY config/docker-entrypoint.sh /custom-entrypoint.sh
|
||||
RUN chmod +x /custom-entrypoint.sh
|
||||
COPY --chmod=755 config/docker-entrypoint.sh /custom-entrypoint.sh
|
||||
|
||||
ENV KONG_DATABASE=off
|
||||
ENV KONG_DECLARATIVE_CONFIG=/etc/kong/kong.yml
|
||||
|
|
|
|||
Loading…
Reference in New Issue