1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-22 07:42:41 +00:00

Use the storage structure from git

This commit is contained in:
Pierre Jaury 2018-06-16 10:35:38 +02:00
parent b956675977
commit 862e9231d1
2 changed files with 2 additions and 8 deletions

View file

@ -1,4 +1,3 @@
storage
data
Dockerfile
docker-compose*.yml

View file

@ -20,13 +20,8 @@ ENV PATH="~/.composer/vendor/bin:./vendor/bin:${PATH}"
COPY . /var/www/
WORKDIR /var/www/
RUN install -d -m0755 -o www-data -g www-data \
/var/www/storage \
/var/www/storage/framework \
/var/www/storage/logs \
/var/www/storage/framework/sessions \
/var/www/storage/framework/views \
/var/www/storage/framework/cache \
RUN find storage -name .gitignore -exec rm {} + \
&& chown -R www-data:www-data /var/www/storage
&& cp -r storage storage.skel \
&& cp docker/env .env \
&& composer install --prefer-source --no-interaction \