(1.0.1) devops: refactor authentication module to improve security and streamline user login process.
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
ARG PHP_VERSION="7.3"
|
||||
FROM php:${PHP_VERSION}-apache
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
git \
|
||||
curl \
|
||||
libpng-dev \
|
||||
libonig-dev \
|
||||
libxml2-dev \
|
||||
zip \
|
||||
unzip \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN docker-php-ext-install pdo_mysql mbstring exif pcntl bcmath gd mysqli
|
||||
|
||||
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
||||
|
||||
COPY apache/ /etc/apache2
|
||||
|
||||
COPY php.ini /usr/local/etc/php/php.ini
|
||||
|
||||
USER www-data
|
||||
Reference in New Issue
Block a user