c8987a8e84
Upgraded Mermaid to v8.9. Removed StackEdit v4 support.
17 lines
307 B
Docker
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", "." ]
|