Update Dockerfile
This commit is contained in:
parent
d56f1b87d3
commit
d7dc914d98
@ -1,10 +1,12 @@
|
|||||||
FROM node:slim
|
FROM node:18.6.0-slim
|
||||||
|
|
||||||
RUN mkdir /space
|
RUN mkdir /space
|
||||||
RUN chown node:node /space
|
RUN chown node:node /space
|
||||||
USER node
|
USER node
|
||||||
WORKDIR /space
|
WORKDIR /space
|
||||||
|
|
||||||
|
RUN npx --yes @silverbulletmd/server || true
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
CMD ["sh","-c","npx --yes @silverbulletmd/server --port 3000 /space"]
|
CMD ["sh","-c","npx --yes @silverbulletmd/server --port 3000 /space"]
|
Loading…
Reference in New Issue
Block a user