mirror of
https://github.com/xwiki-labs/cryptpad-docker.git
synced 2024-11-24 15:35:03 +00:00
Use "npm start" to allow for proper stopping of container
Solution taken from https://stackoverflow.com/a/57473861
This commit is contained in:
parent
ba24e3fb37
commit
a6c1bd8f69
2 changed files with 2 additions and 2 deletions
|
@ -47,4 +47,4 @@ VOLUME /cryptpad/datastore
|
||||||
EXPOSE 3000 3001
|
EXPOSE 3000 3001
|
||||||
|
|
||||||
# Run cryptpad on startup
|
# Run cryptpad on startup
|
||||||
CMD ["server.js"]
|
CMD ["npm", "start"]
|
||||||
|
|
|
@ -47,4 +47,4 @@ VOLUME /cryptpad/datastore
|
||||||
EXPOSE 3000 3001
|
EXPOSE 3000 3001
|
||||||
|
|
||||||
# Run cryptpad on startup
|
# Run cryptpad on startup
|
||||||
CMD ["server.js"]
|
CMD ["npm", "start"]
|
||||||
|
|
Loading…
Reference in a new issue