File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 1+ FROM mcr.microsoft.com/playwright:focal
2+ WORKDIR /app
3+ COPY . .
4+ RUN rm package-lock.json
5+ RUN npm install
6+ RUN npx playwright install
7+ RUN npm run build
8+ ENTRYPOINT ["npm" , "run" ]
9+ CMD ["test" ]
Original file line number Diff line number Diff line change 4343 "prepare" : " npm run build" ,
4444 "pub:next" : " cross-env RELEASE_TAG=next sh build/release.sh" ,
4545 "pub" : " sh build/release.sh" ,
46- "postinstall" : " opencollective-postinstall"
46+ "postinstall" : " opencollective-postinstall" ,
47+ "docker:build" : " docker build -f Dockerfile -t docsify-test:local ." ,
48+ "docker:clean" : " docker rmi docsify-test:local" ,
49+ "docker:test" : " docker run --rm -it --ipc=host --user pwuser docsify-test:local test" ,
50+ "docker:test:e2e" : " docker run --rm -it --ipc=host --user pwuser docsify-test:local test:e2e" ,
51+ "docker:test:integration" : " docker run --rm -it --ipc=host --user pwuser ddocsify-test:local test:integration" ,
52+ "docker:test:unit" : " docker run --rm -it --ipc=host --user pwuser docsify-test:local test:unit"
4753 },
4854 "husky" : {
4955 "hooks" : {
You can’t perform that action at this time.
0 commit comments