<reponame>Anderson2000/rollun-usps<filename>Dockerfile
FROM php:7.3-fpm-alpine
MAINTAINER rollun lc <<EMAIL>>

RUN apk add --no-cache zip libzip-dev


RUN docker-php-ext-install \
    sockets \
    pdo_mysql \
    zip

RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer


COPY composer.json /var/www/application/
COPY composer.lock /var/www/application/
RUN cd /var/www/application && composer install

ADD bin /var/www/application/bin
ADD config /var/www/application/config
#ADD data /var/www/application/data
#ADD public /var/www/application/public
ADD src /var/www/application/src
COPY LICENSE.md /var/www/application/
COPY phpcs.xml /var/www/application/
COPY README.md /var/www/application/

WORKDIR /var/www/application/public


CMD ["php-fpm"]
