Add missing build configuration files

This commit is contained in:
Oliver Davies 2024-07-31 20:46:02 +01:00
parent 8d1a3b2d91
commit e526a47389
11 changed files with 129 additions and 17 deletions

View file

@ -1,6 +1,6 @@
# Do not edit this file. It is automatically generated by https://www.oliverdavies.uk/build-configs.
FROM php: AS base
FROM php:8.2-fpm-bullseye AS base
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
RUN which composer && composer -V
@ -42,6 +42,8 @@ COPY --chown=app:app phpunit.xml* ./
USER app
RUN composer validate --strict
RUN composer install
COPY --chown=app:app tools/docker/images/php/root /
@ -51,3 +53,12 @@ CMD ["php-fpm"]
################################################################################
FROM nginx:1 as web
EXPOSE 8080
WORKDIR /app
COPY tools/docker/images/web/root /