This commit is contained in:
magmaus3 2023-04-14 10:35:51 +02:00
commit c128fd5032
Signed by: magmaus3
GPG key ID: 966755D3F4A9B251
12 changed files with 166 additions and 0 deletions

17
Dockerfile Normal file
View file

@ -0,0 +1,17 @@
# FROM php:apache
FROM php:8.1.17-apache
RUN apt update && apt install -y git
RUN git clone --depth 1 --branch master https://github.com/cvolton/gmdprivateserver /gdps
COPY config/ /gdps/config
RUN apt purge -y git && apt autoremove -y
RUN chmod a+r /gdps
RUN rm -rf /var/www/html
RUN ln -s /gdps/* /var/www/html
RUN mkdir -p /etc/apache2/conf-enabled
COPY apache-config.conf /etc/apache2/conf-enabled/docker-php.conf
COPY apache-site.conf /etc/apache2/sites-enabled/gdps.conf
WORKDIR /gdps
# ENTRYPOINT /bin/bash