mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
fix new installation errors
This commit is contained in:
parent
10fc962da6
commit
0487a82db6
2 changed files with 4 additions and 3 deletions
|
@ -45,7 +45,7 @@ services:
|
|||
- redis
|
||||
|
||||
postgres:
|
||||
image: postgres:14.0-alpine
|
||||
image: postgres:13.4-alpine
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
volumes:
|
||||
|
|
|
@ -17,8 +17,9 @@ background() {
|
|||
# Always install assets
|
||||
(
|
||||
cd /srv/philomena/assets
|
||||
# workaround for #31
|
||||
npm install || (chown -R root:root node_modules && npm install)
|
||||
npm install
|
||||
# why is javascript so terrible
|
||||
chown -R $(id -un):$(id -gn) node_modules
|
||||
)
|
||||
|
||||
# Always install mix dependencies
|
||||
|
|
Loading…
Reference in a new issue