From f8382d720fab2763163735f91b3c98a723fa6482 Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Tue, 15 Sep 2020 13:28:55 -0700 Subject: [PATCH] Add pyright user test --- tests/cases/docker/pyright/Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/cases/docker/pyright/Dockerfile diff --git a/tests/cases/docker/pyright/Dockerfile b/tests/cases/docker/pyright/Dockerfile new file mode 100644 index 00000000000..8a8a723f0a3 --- /dev/null +++ b/tests/cases/docker/pyright/Dockerfile @@ -0,0 +1,11 @@ +FROM node:current +RUN git clone https://github.com/microsoft/pyright.git /pyright +WORKDIR /pyright +RUN git pull +RUN npm i +COPY --from=typescript/typescript /typescript/typescript-*.tgz /typescript.tgz +RUN npm install /typescript.tgz --exact --ignore-scripts --save-dev +RUN npx lerna exec --stream --concurrency 1 -- npm install /typescript.tgz --exact --ignore-scripts --save-dev +WORKDIR /pyright/packages/pyright +ENTRYPOINT [ "npx" ] +CMD [ "webpack", "--mode", "production" ] \ No newline at end of file