Skip to content

Commit 2cc7a7a

Browse files
authored
Create Dockerfile
1 parent 5bdcb4a commit 2cc7a7a

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

phpmyadmin/Dockerfile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Dockerfile for NPP-Optimized WordPress Setup #
2+
# ---------------------------------------------------------------------------- #
3+
# Author: [Hasan ÇALIŞIR] #
4+
# Purpose: Full-stack Dockerized environment for NPP WordPress plugin, including #
5+
# WordPress, PHP-FPM, Nginx, MySQL, WP-CLI, and necessary PHP extensions. #
6+
# ---------------------------------------------------------------------------- #
7+
8+
# Here the magic, the rest of it is ordinary
9+
FROM phpmyadmin:5.2.2-apache
10+
11+
# Install necessary packages
12+
RUN apt-get update && apt-get install -y \
13+
procps \
14+
mariadb-client
15+
16+
# Copy the entrypoint script into the container
17+
COPY phpmyadmin/entrypoint-adm.sh /entrypoint-adm.sh
18+
19+
# Make sure the entrypoint script is executable
20+
RUN chmod +x /entrypoint-adm.sh
21+
22+
# CMD
23+
CMD ["/entrypoint-adm.sh", "apache2-foreground"]

0 commit comments

Comments
 (0)