15 lines
321 B
Docker
Executable File
15 lines
321 B
Docker
Executable File
FROM php:8.1
|
|
|
|
ARG sendgrid_apikey
|
|
ENV SENDGRID_API_KEY=$sendgrid_apikey
|
|
|
|
COPY . /var/www/client
|
|
WORKDIR /var/www/client
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y git libzip-dev && \
|
|
docker-php-ext-install zip
|
|
RUN curl --silent --show-error https://getcomposer.org/installer | php
|
|
|
|
RUN php composer.phar install
|