Skip to content

Commit

Permalink
fix: Don't install deno-vm globally
Browse files Browse the repository at this point in the history
  • Loading branch information
KallynGowdy committed Sep 26, 2024
1 parent eef6a1b commit 07dad67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ ENV PRISMA_QUERY_ENGINE_BINARY="/usr/src/app/aux-backend/prisma/generated/libque
# Install Deno Version v1.4.0
RUN curl -fsSL https://deno.land/x/install/install.sh | sh -s v1.4.0

RUN npm install -g prisma@^5.7.0 deno-vm@^0.12.0
RUN npm install -g prisma@^5.7.0
RUN npm install --no-package-lock --no-save deno-vm@^0.12.0

COPY ./src/aux-server/package*.json ./
COPY ./src/aux-server/aux-backend/server/dist ./aux-backend/server/dist/
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ ENV PRISMA_QUERY_ENGINE_BINARY="/usr/src/app/aux-backend/prisma/generated/libque
# Specify no sandbox since Deno doesn't support Arm64
ENV SANDBOX_TYPE "none"

RUN npm install -g prisma@^5.7.0 deno-vm@^0.12.0
RUN npm install -g prisma@^5.7.0
RUN npm install --no-package-lock --no-save deno-vm@^0.12.0

COPY ./src/aux-server/package*.json ./
COPY ./src/aux-server/aux-backend/server/dist ./aux-backend/server/dist/
Expand Down

0 comments on commit 07dad67

Please sign in to comment.