我无法通过dockerfile在运行我的php项目的浏览器上看到我完整的项目,但是在运行容器之后,我浏览了我只能看到我的第一页,看不到完整的项目。你能帮我吗,我该怎么办,请帮我。在我的dockerfile下方
FROM ubuntu:18.04
ENV TZ=Europe/Kiev
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ >
/etc/timezone
RUN apt-get update -y
RUN apt-get install -y
RUN apt-get install -y apt-utils
RUN apt-get install -y vim
[enter image description here][1]
RUN apt-get install -y sudo
RUN apt-get install -y iputils-ping
RUN apt-get install apache2 -y
RUN service apache2 start
#RUN apt-get install mysql-server -y
RUN apt-get install php libapache2-mod-php -y
RUN service apache2 restart
COPY project/ /var/www/html/
#WORKDIR /var/www/
#COPY schoolmanagement/index.php /var/www/html/
EXPOSE 80
EXPOSE 3306
运行服务apache2重新启动
CMD [“ apachectl”,“-D”,“ FOREGROUND”] enter image description here