transistorsoft / background-geolocation-console

A field-testing & analysis server for the Background Geolocation plugin
MIT License
151 stars 157 forks source link

Default Docker file fails #126

Open skiunke opened 3 years ago

skiunke commented 3 years ago
git clone https://github.com/transistorsoft/background-geolocation-console.git
docker build -t background-geolocation-console .
docker run -p 9000:9000 -v /<rootpath>/src/server/database/db:/usr/src/server/database/db -d background-geolocation-console

`=> ERROR [6/6] RUN NODE_ENV=production ./node_modules/.bin/webpack && NPM_CONFIG_PRODUCTION=true npm prune - 0.4s

10 0.494 /bin/sh: ./node_modules/.bin/webpack: not found`

I had no problems with installing it directly via npm.

christocracy commented 3 years ago

I'm not surprised. I've never actually used it.

Someone else submitted that.

nb7123 commented 1 year ago

you need install webpack: npm i webpack --save-dev