Skip to content

Commit

Permalink
fix install to run postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
jiajames committed May 17, 2024
1 parent f4b31a7 commit 8565bc1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion indexer/Dockerfile.auxo.remote
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ COPY tsconfig.json ./
RUN npm install -g pnpm@6

# Install npm modules using pnpm
RUN pnpm install --loglevel warn --frozen-lockfile
RUN pnpm install --loglevel warn --frozen-lockfile --unsafe-perm
RUN pnpm run build:prod:all

FROM public.ecr.aws/lambda/nodejs:16
Expand Down
2 changes: 1 addition & 1 deletion indexer/Dockerfile.bazooka.remote
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ COPY tsconfig.json ./
RUN npm install -g pnpm@6

# Install npm modules using pnpm
RUN pnpm install --loglevel warn --frozen-lockfile
RUN pnpm install --loglevel warn --frozen-lockfile --unsafe-perm
RUN pnpm run build:prod:all

FROM public.ecr.aws/lambda/nodejs:16
Expand Down
2 changes: 1 addition & 1 deletion indexer/Dockerfile.postgres-package.local
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RUN chown dydx -R /home/dydx/app
USER dydx

# Install npm modules using pnpm
RUN pnpm i --loglevel warn --production --frozen-lockfile
RUN pnpm i --loglevel warn --production --frozen-lockfile --unsafe-perm

WORKDIR /home/dydx/app/packages/postgres

Expand Down
2 changes: 1 addition & 1 deletion indexer/Dockerfile.service.local
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ COPY ./scripts/container-run.sh /home/dydx/app/services/$service/scripts/
RUN chown dydx -R /home/dydx/app

USER dydx
RUN pnpm i --loglevel warn --production --frozen-lockfile
RUN pnpm i --loglevel warn --production --frozen-lockfile --unsafe-perm

WORKDIR /home/dydx/app/services/$service

Expand Down
2 changes: 1 addition & 1 deletion indexer/Dockerfile.service.remote
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ COPY ./scripts/container-run.sh /home/dydx/app/services/$service/scripts/
RUN chown dydx -R /home/dydx/app

# Install npm modules using pnpm
RUN pnpm i --loglevel warn --production --frozen-lockfile
RUN pnpm i --loglevel warn --production --frozen-lockfile --unsafe-perm

USER dydx

Expand Down

0 comments on commit 8565bc1

Please sign in to comment.