add NPM_CONFIG_PREFIX environment variable
Should remove one step from the instructions for developing plugins. It's a step I consistently miss in my haste to get on with the hacking and don't notice myself skip.
This commit is contained in:
parent
f94133b505
commit
d5b43b160a
@ -15,5 +15,8 @@ VOLUME "/home/node/.wiki"
|
||||
EXPOSE 3000
|
||||
USER node
|
||||
ENV PATH="${PATH}:/home/node/bin"
|
||||
# Adding this line to make local plugin development easier
|
||||
# see https://local-farm.wiki.dbbs.co/make-a-new-plugin.html
|
||||
ENV NPM_CONFIG_PREFIX="${HOME}"
|
||||
ENTRYPOINT ["dumb-init"]
|
||||
CMD ["wiki", "--farm", "--security_type=friends"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user