API Docker
This commit is contained in:
13
api/Dockerfile
Normal file
13
api/Dockerfile
Normal file
@ -0,0 +1,13 @@
|
||||
FROM php:8-fpm
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y libc-client-dev libkrb5-dev git libzip-dev unzip qpdf \
|
||||
&& rm -r /var/lib/apt/lists/* \
|
||||
&& docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
|
||||
&& docker-php-ext-install imap zip pdo pdo_mysql
|
||||
|
||||
COPY ./errors.ini /usr/local/etc/php/conf.d/docker-php-errors.ini
|
||||
|
||||
COPY --from=composer /usr/bin/composer /usr/bin/composer
|
||||
|
||||
WORKDIR /app/api
|
Reference in New Issue
Block a user