mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-05 16:02:34 +00:00
api-docs fix
This commit is contained in:
@ -16,6 +16,10 @@ RUN apt-get install -y software-properties-common curl zip unzip gcc nginx \
|
||||
&& apt-get install -y php8.4 php8.4-fpm php8.4-mbstring php8.4-mcrypt php8.4-gd php8.4-xml \
|
||||
php8.4-curl php8.4-gettext php8.4-zip php8.4-bcmath php8.4-soap php8.4-redis php8.4-sqlite3 php8.4-intl
|
||||
|
||||
# nodejs
|
||||
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash - \
|
||||
&& apt-get install -y nodejs
|
||||
|
||||
# php
|
||||
COPY docker/php.ini /etc/php/8.4/cli/conf.d/99-vito.ini
|
||||
|
||||
@ -26,7 +30,9 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local
|
||||
RUN rm -rf /var/www/html
|
||||
COPY . /var/www/html
|
||||
RUN rm -rf /var/www/html/.git /var/www/html/vendor /var/www/html/node_modules
|
||||
RUN composer install --no-dev --prefer-dist
|
||||
RUN npm install --force
|
||||
RUN npm run build
|
||||
RUN composer install --no-dev
|
||||
RUN chown -R www-data:www-data /var/www/html \
|
||||
&& chmod -R 755 /var/www/html/storage /var/www/html/bootstrap/cache
|
||||
|
||||
|
Reference in New Issue
Block a user