FROM php:8.2-cli LABEL fnkit.fn="true" RUN apt-get update && apt-get install -y git unzip zip && rm -rf /var/lib/apt/lists/* WORKDIR /app COPY composer.json ./ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer RUN composer install --no-dev COPY . . ENV FUNCTION_TARGET=helloHttp EXPOSE 8080 CMD ["php", "-S", "0.0.0.0:8080", "vendor/google/cloud-functions-framework/router.php"]