init
This commit is contained in:
commit
c128fd5032
12 changed files with 166 additions and 0 deletions
17
Dockerfile
Normal file
17
Dockerfile
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue