mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +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
|
data
|
||||||
Dockerfile
|
Dockerfile
|
||||||
docker-compose*.yml
|
docker-compose*.yml
|
||||||
|
|
|
@ -20,13 +20,8 @@ ENV PATH="~/.composer/vendor/bin:./vendor/bin:${PATH}"
|
||||||
COPY . /var/www/
|
COPY . /var/www/
|
||||||
|
|
||||||
WORKDIR /var/www/
|
WORKDIR /var/www/
|
||||||
RUN install -d -m0755 -o www-data -g www-data \
|
RUN find storage -name .gitignore -exec rm {} + \
|
||||||
/var/www/storage \
|
&& chown -R www-data: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 \
|
|
||||||
&& cp -r storage storage.skel \
|
&& cp -r storage storage.skel \
|
||||||
&& cp docker/env .env \
|
&& cp docker/env .env \
|
||||||
&& composer install --prefer-source --no-interaction \
|
&& composer install --prefer-source --no-interaction \
|
||||||
|
|
Loading…
Reference in a new issue