Closed hgouveia closed 5 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If you feel this is very a important issue please reach out the maintainer of this project directly via e-mail: gekko at mvr dot me.
I'm submitting a ... [X ] bug report [ ] question about the decisions made in the repository
Action taken
Expected result Mount
config.js
correctlyActual result (unexpected outcome)
config.js
is mounted as a folder if the file doesn't exist and if you made a copysample-config.js
asconfig.js
and run docker-compose again you will get an error since is trying to mount a folderOther information in docker-compose, when you need to mount a file, you need to provided the absolute path, if you put a relative path it will assume is a folder , in other to fix it, you just need to replace in docker-compose.yml , this line
- ./config.js:/usr/src/app/config.js
to- ${PWD}/config.js:/usr/src/app/config.js
and would be very helpful if is mentioned in the Docker instruction that you need to make a copy
sample-config.js
asconfig.js
before