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.

17 lines
224 B
Docker

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