mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-14 20:13:01 +03:00
20 lines
750 B
Docker
20 lines
750 B
Docker
FROM php:8.0-fpm
|
|
|
|
WORKDIR "/var/www/html"
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y \
|
|
git \
|
|
zip \
|
|
unzip \
|
|
&& curl -sSL https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions -o - | sh -s \
|
|
curl gd intl ldap mbstring mysqli odbc pdo soap sockets xml zip xdebug \
|
|
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
|
&& curl -sLS https://deb.nodesource.com/setup_18.x | bash - \
|
|
&& apt-get install -y nodejs \
|
|
&& npm install -g npm \
|
|
&& apt-get -y autoremove \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
|
|
|
CMD ["bash", "docker/php-fpm/start-container"]
|