Skip to content

Commit

Permalink
wat
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Feb 3, 2025
1 parent 27c0dab commit 05b0b6a
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,14 @@ RUN apt-get update && \
"zlib1g-dev" \
&& \
rm -rf /var/lib/apt/lists/* && \
corepack enable && \
mkdir /tmp/pnpm-store && \
rm -rf node_modules && \
node --version && \
echo "1" && \
pnpm install --frozen-lockfile --store-dir /tmp/pnpm-store && \
cd ../common/plugin_transpiler && \
rm -rf node_modules && \
echo "2" && \
pnpm install --frozen-lockfile --store-dir /tmp/pnpm-store && \
echo "3" && \
pnpm build && \
rm -rf /tmp/pnpm-store
RUN corepack enable
RUN node --version
RUN mkdir /tmp/pnpm-store \

Check notice on line 67 in Dockerfile

View workflow job for this annotation

GitHub Actions / Lint changed Dockerfiles

Multiple consecutive `RUN` instructions. Consider consolidation.
RUN pnpm install --frozen-lockfile --store-dir /tmp/pnpm-store
RUN cd ../common/plugin_transpiler && \

Check warning on line 69 in Dockerfile

View workflow job for this annotation

GitHub Actions / Lint changed Dockerfiles

Use WORKDIR to switch to a directory
pnpm install --frozen-lockfile --store-dir /tmp/pnpm-store
RUN pnpm build
RUN rm -rf /tmp/pnpm-store

Check notice on line 72 in Dockerfile

View workflow job for this annotation

GitHub Actions / Lint changed Dockerfiles

Multiple consecutive `RUN` instructions. Consider consolidation.

# Build the plugin server.
#
Expand Down

0 comments on commit 05b0b6a

Please sign in to comment.