Skip to content

Commit

Permalink
Create Dockerfile-Webserver
Browse files Browse the repository at this point in the history
  • Loading branch information
bassmaster187 committed Feb 21, 2024
1 parent d211b43 commit 5bbb0a8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Dockerfile-Webserver
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM php:8.3.3-apache-bookworm

# install packages
RUN apt-get update && \
docker-php-ext-install mysqli && \
apt-get install -y --no-install-recommends mariadb-client && \
apt-get clean && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/* && \
sed -e '/<Directory \/var\/www\/>/,/<\/Directory>/s/AllowOverride None/AllowOverride All/' -i /etc/apache2/apache2.conf && \
echo "1" > /var/tmp/dockerwebserverversion

ADD TeslaLogger/www /var/www/html

0 comments on commit 5bbb0a8

Please sign in to comment.