From 61625772795238337d6181b1ec7a31160ee2080b Mon Sep 17 00:00:00 2001 From: Ahmed Nour Eldin Date: Mon, 18 Jul 2022 03:23:27 +0200 Subject: [PATCH] create dockerfile --- Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..b6725176 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM node:slim + +RUN mkdir /space +RUN chown node:node /space +USER node +WORKDIR /space + +EXPOSE 3000 + +CMD ["sh","-c","npx --yes @silverbulletmd/server --port 3000 /space"] \ No newline at end of file