docker: add entrypoint script + env var for configuring

This commit is contained in:
Kavin
2023-11-13 17:42:22 +00:00
parent 139f5c8c90
commit 1c74bd1196
4 changed files with 14 additions and 0 deletions

View File

@@ -2,5 +2,7 @@ FROM nginx:alpine
COPY ./dist-ci/ /usr/share/nginx/html/
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
COPY docker/entrypoint.sh /entrypoint.sh
EXPOSE 80
ENTRYPOINT [ "/entrypoint.sh" ]