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.

18 lines
232 B
Docker

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