diff --git a/consumer/Dockerfile b/consumer/Dockerfile index 543c91b..da453ba 100644 --- a/consumer/Dockerfile +++ b/consumer/Dockerfile @@ -5,23 +5,12 @@ RUN npm i -g pnpm WORKDIR /home/app -COPY --link ./package.json ./tsconfig.json ./pnpm-lock.yaml ./ -COPY --link ./scripts/package.json ./scripts/pnpm-lock.yaml ./scripts/ COPY --link ./consumer/package.json ./consumer/pnpm-lock.yaml ./consumer/ -RUN pnpm install -RUN pnpm install --filter consumer - -WORKDIR /home/app/scripts -RUN pnpm install - -WORKDIR /home/app - -COPY --link ../scripts ./scripts -COPY --link ../shared ./shared -COPY --link ../consumer ./consumer - WORKDIR /home/app/consumer +RUN pnpm install + +COPY --link ../consumer ./ RUN pnpm run build diff --git a/dashboard/Dockerfile b/dashboard/Dockerfile index 3e988a8..361b674 100644 --- a/dashboard/Dockerfile +++ b/dashboard/Dockerfile @@ -7,7 +7,6 @@ RUN npm i -g pnpm WORKDIR /home/app -COPY --link ./package.json ./tsconfig.json ./pnpm-lock.yaml ./ COPY --link ./dashboard/package.json ./dashboard/pnpm-lock.yaml ./dashboard/ RUN pnpm install @@ -16,7 +15,6 @@ RUN pnpm install --filter dashboard WORKDIR /home/app COPY --link ./dashboard ./dashboard -COPY --link ./shared ./shared WORKDIR /home/app/dashboard diff --git a/producer/Dockerfile b/producer/Dockerfile index b34f4ee..f2c4229 100644 --- a/producer/Dockerfile +++ b/producer/Dockerfile @@ -5,23 +5,12 @@ RUN npm i -g pnpm WORKDIR /home/app -COPY --link ./package.json ./tsconfig.json ./pnpm-lock.yaml ./ -COPY --link ./scripts/package.json ./scripts/pnpm-lock.yaml ./scripts/ COPY --link ./producer/package.json ./producer/pnpm-lock.yaml ./producer/ -RUN pnpm install -RUN pnpm install --filter producer - -WORKDIR /home/app/scripts -RUN pnpm install - -WORKDIR /home/app - -COPY --link ../scripts ./scripts -COPY --link ../shared ./shared -COPY --link ../producer ./producer - WORKDIR /home/app/producer +RUN pnpm install + +COPY --link ../producer ./ RUN pnpm run build diff --git a/shared_global/pnpm-lock.yaml b/shared_global/pnpm-lock.yaml index 9c4d653..576d8fe 100644 --- a/shared_global/pnpm-lock.yaml +++ b/shared_global/pnpm-lock.yaml @@ -11,9 +11,6 @@ importers: '@types/node': specifier: ^22.10.10 version: 22.10.10 - '@types/redis': - specifier: ^4.0.11 - version: 4.0.11 date-fns: specifier: ^4.1.0 version: 4.1.0 @@ -64,10 +61,6 @@ packages: '@types/node@22.10.10': resolution: {integrity: sha512-X47y/mPNzxviAGY5TcYPtYL8JsY3kAq2n8fMmKoRCxq/c4v4pyGNCzM2R6+M5/umG4ZfHuT+sgqDYqWc9rJ6ww==} - '@types/redis@4.0.11': - resolution: {integrity: sha512-bI+gth8La8Wg/QCR1+V1fhrL9+LZUSWfcqpOj2Kc80ZQ4ffbdL173vQd5wovmoV9i071FU9oP2g6etLuEwb6Rg==} - deprecated: This is a stub types definition. redis provides its own type definitions, so you do not need this installed. - '@types/webidl-conversions@7.0.3': resolution: {integrity: sha512-CiJJvcRtIgzadHCYXw7dqEnMNRjhGZlYK05Mj9OyktqV8uVT8fD2BFOB7S1uwBE3Kj2Z+4UyPmFw/Ixgw/LAlA==} @@ -220,10 +213,6 @@ snapshots: dependencies: undici-types: 6.20.0 - '@types/redis@4.0.11': - dependencies: - redis: 4.7.0 - '@types/webidl-conversions@7.0.3': {} '@types/whatwg-url@11.0.5':