fix dockerfiles

This commit is contained in:
Emily
2025-02-14 16:55:34 +01:00
parent 56d7e71d90
commit 7192c31136
4 changed files with 6 additions and 41 deletions

View File

@@ -5,23 +5,12 @@ RUN npm i -g pnpm
WORKDIR /home/app 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/ 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 WORKDIR /home/app/consumer
RUN pnpm install
COPY --link ../consumer ./
RUN pnpm run build RUN pnpm run build

View File

@@ -7,7 +7,6 @@ RUN npm i -g pnpm
WORKDIR /home/app WORKDIR /home/app
COPY --link ./package.json ./tsconfig.json ./pnpm-lock.yaml ./
COPY --link ./dashboard/package.json ./dashboard/pnpm-lock.yaml ./dashboard/ COPY --link ./dashboard/package.json ./dashboard/pnpm-lock.yaml ./dashboard/
RUN pnpm install RUN pnpm install
@@ -16,7 +15,6 @@ RUN pnpm install --filter dashboard
WORKDIR /home/app WORKDIR /home/app
COPY --link ./dashboard ./dashboard COPY --link ./dashboard ./dashboard
COPY --link ./shared ./shared
WORKDIR /home/app/dashboard WORKDIR /home/app/dashboard

View File

@@ -5,23 +5,12 @@ RUN npm i -g pnpm
WORKDIR /home/app 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/ 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 WORKDIR /home/app/producer
RUN pnpm install
COPY --link ../producer ./
RUN pnpm run build RUN pnpm run build

View File

@@ -11,9 +11,6 @@ importers:
'@types/node': '@types/node':
specifier: ^22.10.10 specifier: ^22.10.10
version: 22.10.10 version: 22.10.10
'@types/redis':
specifier: ^4.0.11
version: 4.0.11
date-fns: date-fns:
specifier: ^4.1.0 specifier: ^4.1.0
version: 4.1.0 version: 4.1.0
@@ -64,10 +61,6 @@ packages:
'@types/node@22.10.10': '@types/node@22.10.10':
resolution: {integrity: sha512-X47y/mPNzxviAGY5TcYPtYL8JsY3kAq2n8fMmKoRCxq/c4v4pyGNCzM2R6+M5/umG4ZfHuT+sgqDYqWc9rJ6ww==} 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': '@types/webidl-conversions@7.0.3':
resolution: {integrity: sha512-CiJJvcRtIgzadHCYXw7dqEnMNRjhGZlYK05Mj9OyktqV8uVT8fD2BFOB7S1uwBE3Kj2Z+4UyPmFw/Ixgw/LAlA==} resolution: {integrity: sha512-CiJJvcRtIgzadHCYXw7dqEnMNRjhGZlYK05Mj9OyktqV8uVT8fD2BFOB7S1uwBE3Kj2Z+4UyPmFw/Ixgw/LAlA==}
@@ -220,10 +213,6 @@ snapshots:
dependencies: dependencies:
undici-types: 6.20.0 undici-types: 6.20.0
'@types/redis@4.0.11':
dependencies:
redis: 4.7.0
'@types/webidl-conversions@7.0.3': {} '@types/webidl-conversions@7.0.3': {}
'@types/whatwg-url@11.0.5': '@types/whatwg-url@11.0.5':