diff --git a/Dockerfile b/Dockerfile index a9bda57..aaa97b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,4 +47,4 @@ VOLUME /cryptpad/datastore EXPOSE 3000 3001 # Run cryptpad on startup -CMD ["server.js"] +CMD ["npm", "start"] diff --git a/Dockerfile-alpine b/Dockerfile-alpine index f066af5..9b80c5e 100644 --- a/Dockerfile-alpine +++ b/Dockerfile-alpine @@ -47,4 +47,4 @@ VOLUME /cryptpad/datastore EXPOSE 3000 3001 # Run cryptpad on startup -CMD ["server.js"] +CMD ["npm", "start"]