Skip to content

Commit cbfcbb4

Browse files
authored
Merge pull request #148 from marp-team/precompile-v8-cache-in-docker-image
Precompile v8 cache while building Docker image
2 parents a5be15b + 3cde2cb commit cbfcbb4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [Unreleased]
44

5+
### Fixed
6+
7+
- Precompile v8 cache while building Docker image ([#148](https://github.com/marp-team/marp-cli/pull/148))
8+
59
## v0.13.1 - 2019-09-10
610

711
### Added

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ ENV IS_DOCKER true
2828
WORKDIR /home/marp/.cli
2929
COPY --chown=marp:marp . /home/marp/.cli/
3030
RUN yarn install && yarn add puppeteer-core@chrome-$(chromium-browser --version | sed -r 's/^Chromium ([0-9]+).+$/\1/') \
31-
&& yarn build && rm -rf ./src ./node_modules && yarn install --production && yarn cache clean
31+
&& yarn build && rm -rf ./src ./node_modules && yarn install --production && yarn cache clean \
32+
&& node /home/marp/.cli/marp-cli.js --version
3233

3334
WORKDIR /home/marp/app
3435
ENTRYPOINT ["node", "/home/marp/.cli/marp-cli.js"]

0 commit comments

Comments
 (0)