您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
15 行
306 B
15 行
306 B
FROM richarvey/nginx-php-fpm
|
|
|
|
ENV WEBROOT="/webroot/"
|
|
ENV SECRET_KEY="a1b2c3d4e5f6g7h8i9j0k"
|
|
|
|
COPY entrypoint.sh /
|
|
COPY default.conf /etc/nginx/sites-available/
|
|
|
|
RUN mkdir ${WEBROOT} && mkdir /storage && chmod +x /entrypoint.sh
|
|
|
|
VOLUME ["/storage"]
|
|
|
|
COPY share_v2.php ${WEBROOT}
|
|
|
|
ENTRYPOINT /entrypoint.sh
|
|
|