mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-20 12:03:16 +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/
|
||||
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"]
|
||||
|
|
Loading…
Reference in a new issue