This commit is contained in:
parent
da342bba2c
commit
34553bd9be
1 changed files with 2 additions and 1 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue