You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
318 B

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 && cat /etc/nginx/conf.d/upstream.conf && exec nginx -g 'daemon off;'