You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
306 B

6 years ago
FROM richarvey/nginx-php-fpm
ENV WEBROOT="/webroot/"
ENV SECRET_KEY="a1b2c3d4e5f6g7h8i9j0k"
6 years ago
COPY entrypoint.sh /
COPY default.conf /etc/nginx/sites-available/
RUN mkdir ${WEBROOT} && mkdir /storage && chmod +x /entrypoint.sh
6 years ago
VOLUME ["/storage"]
COPY share_v2.php ${WEBROOT}
6 years ago
ENTRYPOINT /entrypoint.sh