Dockerized for dev purposes
This commit is contained in:
1 parent
ca4569cb8f
commit
c0618ce3e4
7 files changed
+790
-674
No files matched your search
@@ -0,0 +1,16 @@
|
||||
FROM php:8.4-fpm
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
git curl zip unzip libpq-dev \
|
||||
&& docker-php-ext-install pdo pdo_pgsql
|
||||
|
||||
# Install Node.js 20.x
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
||||
&& apt-get install -y nodejs
|
||||
|
||||
# Install Composer globally
|
||||
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
||||
|
||||
WORKDIR /var/www/html
|
||||
|
||||
CMD ["php-fpm"]
|
||||
Reference in new issue
Block a user