From 34553bd9bea0531f2577301b9cf5709922512167 Mon Sep 17 00:00:00 2001 From: fnkit Date: Tue, 17 Feb 2026 17:07:14 +0000 Subject: [PATCH] fix: remove composer.lock from Dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index beda9e0..f56da8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,10 @@ FROM php:8.2-cli LABEL fnkit.fn="true" WORKDIR /app -COPY composer.json composer.lock ./ +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"]