12345678910111213141516171819 |
- FROM php:8.0-cli
- ARG DEBIAN_FRONTEND=noninteractive
- ADD . /opt/rounding-yoomoney/
- WORKDIR /opt/rounding-yoomoney
- RUN apt-get update && apt-get dist-upgrade --yes \
- && apt-get install --no-install-recommends --yes libzip-dev\
- && docker-php-ext-install zip \
- && curl --http1.1 -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
- && composer install --no-dev --no-progress --optimize-autoloader --no-interaction --no-cache \
- && apt-get autoremove --yes --purge \
- && apt-get clean all \
- && rm -rf /var/lib/apt/lists/*
- USER 1000:1000
- CMD ["php", "app.php"]
|