feat(settle ui): ui dockerfile

master
yixian 5 years ago
parent e49e7fb960
commit 6863b28f1b

@ -0,0 +1,13 @@
FROM nginx:alpine
COPY uidocker/conf.d /etc/nginx/
COPY src/main/ui /var/www/royalpay
COPY uidocker/upstream.conf.tpl /opt/upstream.conf.tpl
RUN apk add gettext
EXPOSE 80
CMD envsubst < /opt/upstream.conf.tpl > /etc/nginx/conf.d/upstream.conf && exec nginx -g 'daemon off;'

@ -1,13 +0,0 @@
FROM nginx:alpine
COPY conf.d /etc/nginx/
COPY ../src/main/ui /var/www/royalpay
COPY upstream.conf.tpl /opt/upstream.conf.tpl
RUN apk add gettext
EXPOSE 80
CMD envsubst < /opt/upstream.conf.tpl > /etc/nginx/conf.d/upstream.conf && exec nginx -g 'daemon off;'
Loading…
Cancel
Save