FROM php:alpine COPY --from=composer /usr/bin/composer /usr/bin/composer WORKDIR /usr/src/app COPY composer.json . COPY src src RUN composer install COPY docker/server/server.php . CMD ["php", "./server.php"]