set docker tag

This commit is contained in:
2024-08-09 15:22:35 +02:00
parent bd746e18cc
commit e1cb68766e
2 changed files with 5 additions and 6 deletions
+4 -5
View File
@@ -18,8 +18,9 @@ RUN apt-get install -y \
libwebp-dev \
libfreetype6-dev \
libonig-dev \
npm \
&& docker-php-ext-configure zip \
npm
RUN docker-php-ext-configure zip \
&& docker-php-ext-install zip intl
RUN apt-get install -y libgd3 libgd-dev && rm -rf /var/lib/apt/lists/*
RUN docker-php-ext-configure gd --with-jpeg
@@ -37,6 +38,7 @@ COPY --from=composer /usr/bin/composer /usr/bin/composer
COPY --chown=www-data:www-data ./project /var/www/html
WORKDIR /var/www/html
ENV COMPOSER_ALLOW_SUPERUSER=1
RUN composer install --no-dev --no-interaction --no-autoloader --no-scripts
RUN npm install
@@ -44,10 +46,7 @@ RUN npm run build
RUN apt-get purge --auto-remove -y npm
ENV COMPOSER_ALLOW_SUPERUSER=1
RUN composer dump-autoload --optimize
RUN mv .env.prod .env
COPY services/config/nginx-site.conf /etc/nginx/sites-enabled/default