diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -21,8 +21,10 @@ RUN docker-php-ext-configure gd \ RUN docker-php-ext-install gd zip pgsql intl RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -FROM base +FROM base AS dev COPY ./000-default.conf /etc/apache2/sites-available/000-default.conf -COPY ./src /var/www/html WORKDIR /var/www/html + +FROM dev AS prod +COPY ./src /var/www/html RUN composer install |