mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Speed up docker build times and decrease image size
This commit is contained in:
parent
661917b3e3
commit
dda0fb438c
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