mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-12-25 14:38:54 +00:00
mysqld to httpd
This commit is contained in:
parent
a9825f93e9
commit
26620cb3d5
@ -108,7 +108,7 @@ Successfully built 324104cde6ad
|
|||||||
```
|
```
|
||||||
# put my local web site in myApp folder to /var/www
|
# put my local web site in myApp folder to /var/www
|
||||||
ADD myApp /var/www
|
ADD myApp /var/www
|
||||||
# expose mysqld port
|
# expose httpd port
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
# the command to run
|
# the command to run
|
||||||
CMD ["/usr/sbin/apachectl", "-D", "FOREGROUND"]
|
CMD ["/usr/sbin/apachectl", "-D", "FOREGROUND"]
|
||||||
|
Loading…
Reference in New Issue
Block a user