Skip to content

Commit f8382d7

Browse files
committed
Add pyright user test
1 parent d94b8e4 commit f8382d7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/cases/docker/pyright/Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM node:current
2+
RUN git clone https://github.com/microsoft/pyright.git /pyright
3+
WORKDIR /pyright
4+
RUN git pull
5+
RUN npm i
6+
COPY --from=typescript/typescript /typescript/typescript-*.tgz /typescript.tgz
7+
RUN npm install /typescript.tgz --exact --ignore-scripts --save-dev
8+
RUN npx lerna exec --stream --concurrency 1 -- npm install /typescript.tgz --exact --ignore-scripts --save-dev
9+
WORKDIR /pyright/packages/pyright
10+
ENTRYPOINT [ "npx" ]
11+
CMD [ "webpack", "--mode", "production" ]

0 commit comments

Comments
 (0)