You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
261 B
Docker

FROM docker.io/composer:latest AS composer
WORKDIR /app
COPY composer.json composer.lock ./
RUN composer install
FROM docker.io/php:7.4-alpine
COPY --from=composer /app /app
COPY main.php functions.php /app/
WORKDIR /app
ENTRYPOINT ["php", "main.php"]