added sqlite service docker

This commit is contained in:
2023-12-07 13:53:45 +03:00
committed by apoloz
parent b4755ccbb3
commit cecd510cff
3 changed files with 12 additions and 8 deletions

View File

@@ -1,16 +1,16 @@
FROM phpdockerio/php:8.2-fpm
WORKDIR "/application"
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash -
RUN apt-get update; \
apt-get -y --no-install-recommends install \
git \
php8.2-gd \
php8.2-mysql \
php8.2-pgsql; \
php8.2-sqlite3 \
nodejs \
php8.2-pgsql && npm install -g npm@10.1.0 \
apt-get clean; \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash -
RUN apt-get update && apt-get install -y nodejs && npm install -g npm@10.1.0
ENV PATH=node_modules/.bin:$PATH