瀏覽代碼

优化dockerfile文件

evoxwht 2 年之前
父節點
當前提交
ccc527cf9f
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      docker-compose/php/Dockerfile

+ 1 - 0
docker-compose/php/Dockerfile

@@ -11,5 +11,6 @@ RUN apt-get update; \
 RUN apt-get clean 
 RUN apt-get autoremove   
 RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
+RUN echo "open_basedir = /tmp:/var" > /etc/php/7.4/fpm/conf.d/open_basedir.ini
 
 #