Thursday, April 4, 2024
Apache Docker Dockerfile PHP

Dockerfile Untuk PHP – Apache

apache

“Dockerfile Untuk PHP – Apache”

Pengantar

Jika kalian sedang mencari dockerfile untuk php yang menggunakan apache bisa ikuti tutorial ini.

Dockerfile Untuk PHP – Apache

FROM php:7.0-apache
COPY src/ /var/www/html
EXPOSE 80
docker build -t docker-php-helloworld .
  • Jalankan kontainer
docker run -p 80:80 docker-php-helloworld
http://IPaddr:80

Penutup

Sahabat Blog Learning & Doing demikianlah penjelasan mengenai Dockerfile Untuk PHP – Apache. Semoga Bermanfaat . Sampai ketemu lagi di postingan berikut nya.

(Visited 122 times, 1 visits today)
Baca Juga :  Cara Install LAMP Stack pada Linux Mint Cinnamon

Similar Posts