All checks were successful
Build and Push Docker Image / build (push) Successful in 2m17s
Custom Docker images embed all config so production servers no longer need SQL files, kong.yml, or shell scripts. Kong generates config from env vars at startup. Migrate container auto-detects fresh vs existing DB and runs appropriate scripts. New images: monacousa-db, monacousa-kong, monacousa-migrate New commands: deploy.sh build-images, deploy.sh push-images Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
10 lines
301 B
Docker
10 lines
301 B
Docker
FROM kong:2.8.1
|
|
|
|
# Embed the config template and wrapper script
|
|
COPY kong.yml.template /var/lib/kong/kong.yml.template
|
|
COPY docker-entrypoint-wrapper.sh /docker-entrypoint-wrapper.sh
|
|
RUN chmod +x /docker-entrypoint-wrapper.sh
|
|
|
|
ENTRYPOINT ["/docker-entrypoint-wrapper.sh"]
|
|
CMD ["kong", "docker-start"]
|