create dockerfile
This commit is contained in:
parent
a2e165fa85
commit
6162577279
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@ -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"]
|
Loading…
Reference in New Issue
Block a user