Update Dockerfile
parent
d56f1b87d3
commit
d7dc914d98
|
@ -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"]
|
||||
CMD ["sh","-c","npx --yes @silverbulletmd/server --port 3000 /space"]
|
||||
|
|
Loading…
Reference in New Issue