1
0
silverbullet/Dockerfile

13 lines
224 B
Docker
Raw Normal View History

2022-07-18 17:48:19 +00:00
FROM node:18.6.0-slim
2022-07-18 01:23:27 +00:00
RUN mkdir /space
RUN chown node:node /space
USER node
WORKDIR /space
2022-07-18 17:48:19 +00:00
RUN npx --yes @silverbulletmd/server || true
2022-07-18 01:23:27 +00:00
EXPOSE 3000
2022-07-18 17:48:19 +00:00
CMD ["sh","-c","npx --yes @silverbulletmd/server --port 3000 /space"]