优化dockerfile说明

This commit is contained in:
augushong
2024-09-23 22:30:42 +08:00
parent a4e12eddb9
commit 22397aa221

View File

@@ -60,6 +60,9 @@ RUN mkdir -p /var/www/html/storage
RUN chmod -R 777 /var/www/html/storage
VOLUME /var/www/html/storage
# 挂载主目录,也可以选择直接挂载主目录,可以把上面的几个指定的目录删掉
# VOLUME ["/var/www/html"]
# 暴露 Nginx 端口
EXPOSE 80