feat: единая админка runtime-конфигов и indpic (#22)
deploy-preland / deploy zoomstage.online (push) Successful in 1m1s
deploy-preland / deploy zoomstage.online (push) Successful in 1m1s
This commit is contained in:
1 parent
5b6b2d2053
commit
9515c1c62b
52 files changed
+2459
-34
No files matched your search
@@ -0,0 +1,23 @@
|
||||
FROM php:8.3-apache-bookworm@sha256:cbd3b3d9011668443d54ab40ec31db56c73d91b4c8198935d639aa80d2d815c1
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends libmagickwand-dev libzip-dev unzip ca-certificates git \
|
||||
&& docker-php-ext-install zip \
|
||||
&& printf '\n' | pecl install imagick-3.8.0 \
|
||||
&& docker-php-ext-enable imagick \
|
||||
&& a2enmod rewrite headers \
|
||||
&& groupmod -g 987 www-data && usermod -u 997 -g 987 www-data \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY --from=composer:2@sha256:b6dcd72ca98fa19d0e5b8476de179859704891fad06dd9e0b96833d4c430a5fc /usr/bin/composer /usr/local/bin/composer
|
||||
RUN docker-php-ext-install pcntl
|
||||
WORKDIR /app
|
||||
COPY composer.* ./
|
||||
RUN COMPOSER_IPRESOLVE=4 composer install --no-dev --no-interaction --prefer-dist --no-progress --optimize-autoloader
|
||||
COPY . /app
|
||||
COPY deploy/apache.conf /etc/apache2/sites-available/000-default.conf
|
||||
COPY deploy/php.ini /usr/local/etc/php/conf.d/preland-admin.ini
|
||||
RUN mkdir -p /var/lib/preland-admin && chown 997:987 /var/lib/preland-admin
|
||||
ENV ADMIN_STATE_DIR=/var/lib/preland-admin
|
||||
EXPOSE 80
|
||||
CMD ["apache2-foreground"]
|
||||
Reference in new issue
Block a user