switching to pnpm for faster build

This commit is contained in:
Christian Kellner
2025-05-16 13:38:25 +02:00
parent 25dfad4f5d
commit b3c11320d4
6 changed files with 25 additions and 8544 deletions

View File

@@ -9,14 +9,13 @@ RUN apt-get update && apt-get install -y chromium
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true \
PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium
# Timeout fix für yarn hinzugefügt
RUN yarn config set network-timeout 600000
RUN corepack enable && pnpm config set network-timeout 600000
RUN yarn install
RUN pnpm install
RUN yarn global add pm2
RUN pnpm add -g pm2
RUN yarn run prod
RUN pnpm run prod
RUN mkdir /db /conf && \
chown 1000:1000 /db /conf && \
@@ -25,4 +24,4 @@ RUN mkdir /db /conf && \
EXPOSE 9998
CMD pm2-runtime index.js
CMD pm2-runtime index.js