php / Dockerfile
mavernlokuip's picture
Update Dockerfile
657e426 verified
raw
history blame contribute delete
415 Bytes
# Use the official phpMyAdmin image
FROM phpmyadmin/phpmyadmin:latest
RUN chmod -R 777 /var/
RUN chmod -R 777 /etc/phpmyadmin/
RUN chmod -R 777 /etc/apache2/
# Set correct permissions for phpMyAdmin configuration file
RUN chmod 644 /etc/phpmyadmin/config.inc.php
# Set environment variables
ENV PMA_HOST=mysql-7364790-localbugtv.l.aivencloud.com
ENV PMA_PORT=10490
ENV MYSQL_ROOT_PASSWORD=root
ENV APACHE_PORT=7860