mirror of
https://gitee.com/mafgwo/stackedit
synced 2024-11-16 11:42:23 +08:00
abd0890512
Added sponsorship options. Added pdf and pandoc export. Added emoji and mermaid extensions. Added find/replace support. Added HTML template with TOC. Updated welcome file.
17 lines
295 B
Docker
17 lines
295 B
Docker
FROM benweet/stackedit-base
|
|
|
|
RUN mkdir -p /usr/src/app
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY package.json /usr/src/app/
|
|
COPY yarn.lock /usr/src/app/
|
|
COPY gulpfile.js /usr/src/app/
|
|
RUN yarn && yarn cache clean
|
|
COPY . /usr/src/app
|
|
ENV NODE_ENV production
|
|
RUN yarn run build
|
|
|
|
EXPOSE 8080
|
|
|
|
CMD [ "node", "." ]
|