Dockerize Control Panel

This commit is contained in:
Ben van Hartingsveldt 2025-01-16 11:19:24 +01:00
parent 199e0e4772
commit 98b2f93d7e
No known key found for this signature in database
GPG key ID: 261AA214130CE7AB
2 changed files with 19 additions and 1 deletions

14
cp/Dockerfile Normal file
View file

@ -0,0 +1,14 @@
FROM php:8.3-alpine
WORKDIR /var/www/cp
# Install Composer
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
COPY . .
RUN composer install
VOLUME /var/log/namingo
CMD ["php-fpm","-D"]