mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Merge pull request #848 from techknowlogick/patch-1
Speed up docker build times and decrease image size
This commit is contained in:
commit
d127fbf290
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,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 --prefer-source --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"]
|
||||||
|
|
Loading…
Reference in a new issue