Remove usage of npm run from docker

This commit is contained in:
byte[] 2021-12-21 15:19:15 -05:00
parent 3315eada3b
commit 7890e28545
2 changed files with 8 additions and 3 deletions

View file

@ -15,7 +15,14 @@ config :philomena, PhilomenaWeb.Endpoint,
code_reloader: true,
check_origin: false,
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

View file

@ -19,8 +19,6 @@ background() {
(
cd /srv/philomena/assets
npm install
# why is javascript so terrible
node_modules/.bin/webpack
)
# Always install mix dependencies