9 lines
217 B
Docker
9 lines
217 B
Docker
|
|
FROM nginx:stable
|
||
|
|
|
||
|
|
ADD ./dist /www/
|
||
|
|
ADD ./default.conf /etc/nginx/conf.d/
|
||
|
|
|
||
|
|
EXPOSE 80
|
||
|
|
|
||
|
|
CMD ["/bin/bash", "-c", "sed -i 's@<html@<html data-api-base-url=\"'$API_BASE_URL'\"@' /www/index.html; nginx -g \"daemon off;\""]
|