1
0
Fork 0
forked from mirror/pixelfed

Speed up docker build times and decrease image size

This commit is contained in:
techknowlogick 2019-02-15 00:57:46 -05:00 committed by GitHub
parent 661917b3e3
commit dda0fb438c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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