mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 05:37:59 +01:00
Remove usage of npm run from docker
This commit is contained in:
parent
3315eada3b
commit
7890e28545
2 changed files with 8 additions and 3 deletions
|
@ -15,7 +15,14 @@ config :philomena, PhilomenaWeb.Endpoint,
|
||||||
code_reloader: true,
|
code_reloader: true,
|
||||||
check_origin: false,
|
check_origin: false,
|
||||||
watchers: [
|
watchers: [
|
||||||
npm: ["run", "watch", cd: Path.expand("../assets", __DIR__)]
|
node: [
|
||||||
|
"node_modules/webpack/bin/webpack.js",
|
||||||
|
"--mode",
|
||||||
|
"development",
|
||||||
|
"--watch",
|
||||||
|
"--watch-options-stdin",
|
||||||
|
cd: Path.expand("../assets", __DIR__)
|
||||||
|
]
|
||||||
]
|
]
|
||||||
|
|
||||||
# ## SSL Support
|
# ## SSL Support
|
||||||
|
|
|
@ -19,8 +19,6 @@ background() {
|
||||||
(
|
(
|
||||||
cd /srv/philomena/assets
|
cd /srv/philomena/assets
|
||||||
npm install
|
npm install
|
||||||
# why is javascript so terrible
|
|
||||||
node_modules/.bin/webpack
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Always install mix dependencies
|
# Always install mix dependencies
|
||||||
|
|
Loading…
Reference in a new issue