Add entrypoint to allow file override.
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 57s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 57s
This commit is contained in:
parent
23b265a55d
commit
866bc2ed9e
2 changed files with 14 additions and 0 deletions
|
@ -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"]
|
Loading…
Add table
Add a link
Reference in a new issue