mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Use the storage structure from git
This commit is contained in:
parent
b956675977
commit
862e9231d1
2 changed files with 2 additions and 8 deletions
|
@ -1,4 +1,3 @@
|
|||
storage
|
||||
data
|
||||
Dockerfile
|
||||
docker-compose*.yml
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue