Преглед изворни кода

Fix instruction for without dockerfile example

Thanks to @wsilva! Without explicit port forwarding, the command did not work.
Rogerio Prado de Jesus пре 10 година
родитељ
комит
c5e7d59e54
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      php/content.md

+ 1 - 1
php/content.md

@@ -91,5 +91,5 @@ Remember, you must install dependencies for your extensions manually. If an exte
 If you don't want to include a `Dockerfile` in your project, it is sufficient to do the following:
 
 ```console
-$ docker run -it --rm --name my-apache-php-app -v "$PWD":/var/www/html php:5.6-apache
+$ docker run -p 80:80 -it --rm --name my-apache-php-app -v "$PWD":/var/www/html php:5.6-apache
 ```