|
|
|
FROM nginx:alpine
|
|
|
|
|
|
|
|
COPY uidocker/conf.d /etc/nginx/conf.d
|
|
|
|
|
|
|
|
COPY src/main/ui /var/www/royalpay
|
|
|
|
|
|
|
|
COPY uidocker/upstream.conf.tpl /opt/upstream.conf.tpl
|
|
|
|
|
|
|
|
EXPOSE 80
|
|
|
|
|
|
|
|
CMD envsubst < /opt/upstream.conf.tpl > /etc/nginx/conf.d/upstream.conf && cat /etc/nginx/conf.d/upstream.conf && exec nginx -g 'daemon off;'
|