ARG PHP_VERSION=8.3 FROM chialab/php:${PHP_VERSION} WORKDIR /app COPY app . RUN composer install \ --ignore-platform-reqs \ --no-interaction \ --no-plugins \ --prefer-dist \ --no-progress \ --optimize-autoloader EXPOSE 8000 CMD [ "php", "server/server.php" ]