芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/mctv/vendor/xibosignage/xibo-xmr/Dockerfile
FROM composer:1.6 as composer COPY . /app RUN composer install --no-interaction --no-dev --ignore-platform-reqs --optimize-autoloader FROM alpine:3.11 MAINTAINER Xibo Signage Ltd
ENV XMR_DEBUG false ENV XMR_QUEUE_POLL 5 ENV XMR_QUEUE_SIZE 10 ENV XMR_IPV6RESPSUPPORT false ENV XMR_IPV6PUBSUPPORT false RUN apk update && apk upgrade && apk add tar \ php7 \ curl \ php7-zmq \ php7-phar \ php7-json \ php7-openssl \ && rm -rf /var/cache/apk/* EXPOSE 9505 50001 COPY ./entrypoint.sh /entrypoint.sh COPY . /opt/xmr COPY --from=composer /app/vendor /opt/xmr/vendor RUN chown -R nobody /opt/xmr && chmod 755 /entrypoint.sh # Start XMR USER nobody CMD ["/entrypoint.sh"]