This commit is contained in:
Refactorian
2023-09-14 01:28:33 +09:00
committed by GitHub
parent b71e5fe9fe
commit 9a79ed28de
12 changed files with 867 additions and 683 deletions

View File

@@ -16,18 +16,15 @@ RUN apt-get install -y libicu-dev \
RUN pecl install pcov && docker-php-ext-enable pcov
# Xdebug
#RUN pecl install xdebug \
# RUN pecl install xdebug \
# && docker-php-ext-enable xdebug \
# && echo ";zend_extension=xdebug" > /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
RUN curl -sL https://deb.nodesource.com/setup_19.x | bash -
# Node.js, NPM, Yarn
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash -
RUN apt-get install -y nodejs
RUN npm install npm@latest -g
RUN npm install yarn -g
RUN npm install -g @vue/cli
WORKDIR /root
RUN git clone https://github.com/seebi/dircolors-solarized
# Composer
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
@@ -39,8 +36,10 @@ ENV COMPOSER_ALLOW_SUPERUSER 1
ENV COMPOSER_HOME /composer
ENV PATH $PATH:/composer/vendor/bin
RUN composer config --global process-timeout 3600
RUN composer global require "laravel/installer"
WORKDIR /root
RUN git clone https://github.com/seebi/dircolors-solarized
EXPOSE 5173
WORKDIR /var/www
RUN composer global require "laravel/installer"