There are terrible complications to having an entry point and a cmd in a dockerfile.
This commit is contained in:
parent
1f06f73a58
commit
f9ce8076ed
|
@ -25,7 +25,7 @@ COPY ./docker/substitute-env-variables.sh ./entrypoint.sh
|
||||||
RUN chmod +x ./entrypoint.sh
|
RUN chmod +x ./entrypoint.sh
|
||||||
|
|
||||||
# Substitute environment variables in nginx configuration and index.html
|
# Substitute environment variables in nginx configuration and index.html
|
||||||
ENTRYPOINT ["./entrypoint.sh", \
|
RUN ["./entrypoint.sh", \
|
||||||
"/etc/nginx/html/index.html,/etc/nginx/conf.d/default.conf", \
|
"/etc/nginx/html/index.html,/etc/nginx/conf.d/default.conf", \
|
||||||
"PRODUCTION,API_URL,IRB_URL,HOME_ROUTE,BASE_HREF,PORT0", \
|
"PRODUCTION,API_URL,IRB_URL,HOME_ROUTE,BASE_HREF,PORT0", \
|
||||||
"/etc/nginx/html"]
|
"/etc/nginx/html"]
|
||||||
|
|
Loading…
Reference in New Issue