Spaces:
Running
Running
test
#2
by
mavernlokuip
- opened
- Dockerfile +3 -7
Dockerfile
CHANGED
@@ -1,13 +1,9 @@
|
|
1 |
# Use the official phpMyAdmin image
|
2 |
FROM phpmyadmin/phpmyadmin:latest
|
3 |
RUN chmod -R 777 /var/
|
4 |
-
RUN chmod -R 777 /etc/
|
5 |
-
RUN chmod -R 777 /etc/apache2/
|
6 |
-
# Set correct permissions for phpMyAdmin configuration file
|
7 |
-
RUN chmod 644 /etc/phpmyadmin/config.inc.php
|
8 |
-
|
9 |
# Set environment variables
|
10 |
-
ENV PMA_HOST=mysql
|
11 |
-
ENV PMA_PORT=
|
12 |
ENV MYSQL_ROOT_PASSWORD=root
|
13 |
ENV APACHE_PORT=7860
|
|
|
1 |
# Use the official phpMyAdmin image
|
2 |
FROM phpmyadmin/phpmyadmin:latest
|
3 |
RUN chmod -R 777 /var/
|
4 |
+
#RUN chmod -R 777 /etc/
|
|
|
|
|
|
|
|
|
5 |
# Set environment variables
|
6 |
+
ENV PMA_HOST=mysql
|
7 |
+
ENV PMA_PORT=7860
|
8 |
ENV MYSQL_ROOT_PASSWORD=root
|
9 |
ENV APACHE_PORT=7860
|