summaryrefslogtreecommitdiff
path: root/Lab04/Dockerfile
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-10-02 21:29:53 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-10-02 21:29:53 +0530
commitfa0fed060e5cb9a2ef365a60a24a576282a86016 (patch)
treec0096a3b915eef200dc52165c763d94d07e79ee6 /Lab04/Dockerfile
parent71a5768da1b297c807beee4e3c6a4942126c66e9 (diff)
Lab04: Add database table creation php file + Docker configuration for AMP+phpmyadmin
Diffstat (limited to 'Lab04/Dockerfile')
-rw-r--r--Lab04/Dockerfile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Lab04/Dockerfile b/Lab04/Dockerfile
new file mode 100644
index 0000000..01effe1
--- /dev/null
+++ b/Lab04/Dockerfile
@@ -0,0 +1,7 @@
+FROM php:7.4-apache
+
+RUN docker-php-ext-install mysqli && docker-php-ext-enable mysqli
+
+COPY . /var/www/html
+
+WORKDIR /var/www/html