Skip to content

Commit

Permalink
make containers use bun pm
Browse files Browse the repository at this point in the history
  • Loading branch information
coffeeorgreentea committed Jun 7, 2024
1 parent 761cdc0 commit 28aef13
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
4 changes: 3 additions & 1 deletion scripts/Dockerfile.connector
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ RUN git submodule update --init --recursive portal/cloud

# RUN poetry install --no-root

RUN npm install
RUN npm i -g bun

RUN bun i

RUN npm run build-connector

Expand Down
5 changes: 4 additions & 1 deletion scripts/Dockerfile.embedder
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ RUN git submodule update --init --recursive portal/cloud
# This application does not need the prisma clients
RUN sed -i '/"postinstall":/d' package.json

RUN npm install
RUN npm i -g bun

RUN bun i


# Using the nx cli to build the app the .output folder is disappearing
# I'll figure it out later but for now this works
Expand Down
5 changes: 4 additions & 1 deletion scripts/Dockerfile.manager
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ RUN git submodule update --init --recursive portal/cloud

# RUN poetry install --no-root

RUN npm install
RUN npm i -g bun

RUN bun i


RUN npm run build-cloud-agent-manager

Expand Down
3 changes: 2 additions & 1 deletion scripts/Dockerfile.server
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ RUN git submodule update --init --recursive portal/cloud
# RUN poetry install --no-root

RUN npm i -g nx
RUN npm i -g bun

RUN npm install
RUN bun i

RUN npm run build-server

Expand Down
4 changes: 3 additions & 1 deletion scripts/Dockerfile.worker
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ RUN git submodule update --init --recursive portal/cloud

# RUN poetry install --no-root

RUN npm install
RUN npm i -g bun

RUN bun i

RUN npm run build-cloud-agent-worker

Expand Down

0 comments on commit 28aef13

Please sign in to comment.