fix: remove composer.lock from Dockerfile
Some checks failed
/ deploy (push) Failing after 6s

This commit is contained in:
fnkit 2026-02-17 17:07:14 +00:00
parent da342bba2c
commit 34553bd9be

View file

@ -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"]