Add entrypoint to allow file override.
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 57s

This commit is contained in:
Cameron Redmore 2025-04-18 16:51:10 +01:00
parent 23b265a55d
commit 866bc2ed9e
2 changed files with 14 additions and 0 deletions

View file

@ -1,3 +1,8 @@
FROM nginx:latest
COPY www /usr/share/nginx/html
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]