Update Dockerfile.fpm

This commit is contained in:
Shleeble 2019-04-16 13:50:55 +08:00 committed by GitHub
parent 62300230c8
commit a250562be8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ COPY . /var/www/
WORKDIR /var/www/ WORKDIR /var/www/
RUN cp -r storage storage.skel \ RUN cp -r storage storage.skel \
&& cp contrib/docker/php.ini /usr/local/etc/php/conf.d/pixelfed.ini \ && cp contrib/docker/php.ini /usr/local/etc/php/conf.d/pixelfed.ini \
&& composer install --no-dev --prefer-dist --no-interaction \ && composer install --prefer-dist --no-interaction \
&& rm -rf html && ln -s public html && rm -rf html && ln -s public html
VOLUME ["/var/www/storage", "/var/www/public.ext"] VOLUME ["/var/www/storage", "/var/www/public.ext"]