diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2025-08-06 15:21:03 +0200 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2025-08-06 15:21:03 +0200 |
commit | 929c1b90d6b16706f9c63339f5f2a2b42332f3f3 (patch) | |
tree | b2057dc317f6e4476d828f103046c3ab7e834c45 /print/Dockerfile | |
parent | d6adc45f0e0380d7f5404549e3774a02b2afaebe (diff) |
split into two standalone containers
Diffstat (limited to 'print/Dockerfile')
-rw-r--r-- | print/Dockerfile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/print/Dockerfile b/print/Dockerfile new file mode 100644 index 0000000..632b917 --- /dev/null +++ b/print/Dockerfile @@ -0,0 +1,14 @@ +FROM composer AS composer +FROM php:fpm-alpine + +COPY --from=composer /usr/bin/composer /usr/bin/composer + +WORKDIR /var/www/html + +COPY composer.* ./ +COPY print.php . +COPY AllPrintings.sqlite . + +RUN composer install + +CMD ["php", "./print.php"] |