feat(settle ui): ui dockerfile

master
yixian 5 years ago
parent 6182f38468
commit e51f7e8407

@ -6,8 +6,6 @@ COPY src/main/ui /var/www/royalpay
COPY uidocker/upstream.conf.tpl /opt/upstream.conf.tpl COPY uidocker/upstream.conf.tpl /opt/upstream.conf.tpl
RUN apk add gettext
EXPOSE 80 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;' CMD envsubst < /opt/upstream.conf.tpl > /etc/nginx/conf.d/upstream.conf && cat /etc/nginx/conf.d/upstream.conf && exec nginx -g 'daemon off;'
Loading…
Cancel
Save