From d7dc914d98a1a235509338337984c98551d2c3e4 Mon Sep 17 00:00:00 2001 From: Ahmed Nour Eldin Date: Mon, 18 Jul 2022 19:48:19 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b6725176..2539beb4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,12 @@ -FROM node:slim +FROM node:18.6.0-slim RUN mkdir /space RUN chown node:node /space USER node WORKDIR /space +RUN npx --yes @silverbulletmd/server || true + EXPOSE 3000 -CMD ["sh","-c","npx --yes @silverbulletmd/server --port 3000 /space"] \ No newline at end of file +CMD ["sh","-c","npx --yes @silverbulletmd/server --port 3000 /space"]