Stackedit/Dockerfile
Benoit Schweblin c8987a8e84 Upgraded Katex to v0.13.
Upgraded Mermaid to v8.9.
Removed StackEdit v4 support.
2021-03-29 17:33:29 +01:00

17 lines
307 B
Docker

FROM benweet/stackedit-base
RUN mkdir -p /opt/stackedit
WORKDIR /opt/stackedit
COPY package*json /opt/stackedit/
COPY gulpfile.js /opt/stackedit/
RUN npm install --unsafe-perm \
&& npm cache clean --force
COPY . /opt/stackedit
ENV NODE_ENV production
RUN npm run build
EXPOSE 8080
CMD [ "node", "." ]