Hello guys i try to install Parse-Server on my home server ( unraid ) with docker container from hub docker https://hub.docker.com/r/parseplatform/parse-server Do somebody know how to inject package.json to install npm modules
I tried to move file to cloud/package.json and i get error: Cannot find module and i have correct path to cloudCode folder because cloudColde runs.
Please help
here are my parameters
source: parseplatform/parse-server
name: parse-server
Post Argumente: --appId xxx --masterKey xxxx --databaseURI mongodb://192.168.178.27:27017/test --cloud /parse-server/cloud/main.js --mountGraphQL
-v config : /mnt/user/appdata/parse-server/config/
-v cloud: /mnt/user/appdata/parse-server/cloud/
-p: 1337
#Folder structure
cloud/
-main.js
-package.json
config/
-configuration.json
Guys i have a solution if you want to inject node modules to your docker container
you have to define in your local cloud folder package,json with your modules you want to. you have to run “npm install” to install your dependencies. 3 run your docker container with -v mypath/config/:/parse-server/cloud --cloud /parse-server/cloud/main.js Ready.
Many thanks to developers from Parse Server it is sooooo great system. I LOVE IT ❤️
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.