Viel neues
This commit is contained in:
24
qa-tool/compose/Dockerfile
Normal file
24
qa-tool/compose/Dockerfile
Normal file
@@ -0,0 +1,24 @@
|
||||
# Verwende das offizielle PHP-Image mit Apache und PHP 8.3
|
||||
FROM php:8.3-apache
|
||||
|
||||
# Enable Apache modules
|
||||
RUN a2enmod rewrite
|
||||
|
||||
# Beispiel für Debian/Ubuntu-basierte Images
|
||||
RUN apt-get update && apt-get install -y && apt install -y nano mc libssl-dev \
|
||||
zip \
|
||||
unzip \
|
||||
git && docker-php-ext-install mysqli
|
||||
|
||||
# Installiere Composer
|
||||
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
||||
|
||||
# Setze das Arbeitsverzeichnis
|
||||
WORKDIR /var/www/html
|
||||
|
||||
# Installiere die benötigte Bibliothek (leeres Verzeichnis, um Abhängigkeiten zu verwalten)
|
||||
RUN mkdir -p /var/www/html
|
||||
#RUN composer require jumbojett/openid-connect-php
|
||||
|
||||
# Exponiere Port 8009
|
||||
EXPOSE 8009
|
||||
Reference in New Issue
Block a user