2020-10-21 21:27:31 +00:00
|
|
|
FROM sahrea/webserver
|
|
|
|
|
2020-10-21 22:56:46 +00:00
|
|
|
WORKDIR /var/www/html
|
|
|
|
|
2020-10-24 11:07:40 +00:00
|
|
|
RUN apt-get update && apt-get -y install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
|
|
|
|
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
|
|
|
|
RUN add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
|
2020-10-24 11:17:22 +00:00
|
|
|
RUN apt-get update && apt-get -y install docker-ce-cli socat
|
2020-10-24 11:07:40 +00:00
|
|
|
|
2020-10-23 19:00:04 +00:00
|
|
|
RUN touch /var/run/docker.sock && chmod 777 /var/run/docker.sock
|
|
|
|
|
2020-10-21 21:30:45 +00:00
|
|
|
COPY index.php /var/www/html/index.php
|
2020-10-24 14:36:09 +00:00
|
|
|
COPY api.php /var/www/html/api.php
|
2020-10-21 21:30:45 +00:00
|
|
|
|
|
|
|
COPY style/ /var/www/html/style/
|
2020-10-21 21:37:20 +00:00
|
|
|
COPY pages/ /var/www/html/pages/
|
2020-10-21 21:30:45 +00:00
|
|
|
COPY classen/ /var/www/html/classen/
|