update render dockerfile

This commit is contained in:
timothycarambat 2024-02-22 10:29:42 -08:00
parent e60bea1273
commit c4c60834a0
2 changed files with 2 additions and 0 deletions

View File

@ -133,6 +133,7 @@ COPY --from=build-stage /app/frontend/dist ./server/public
COPY --chown=anythingllm:anythingllm ./collector/ ./collector/ COPY --chown=anythingllm:anythingllm ./collector/ ./collector/
# Install collector dependencies # Install collector dependencies
ENV PUPPETEER_DOWNLOAD_BASE_URL=https://storage.googleapis.com/chrome-for-testing-public
RUN cd /app/collector && yarn install --production --network-timeout 100000 && yarn cache clean RUN cd /app/collector && yarn install --production --network-timeout 100000 && yarn cache clean
# Migrate and Run Prisma against known schema # Migrate and Run Prisma against known schema

View File

@ -75,6 +75,7 @@ COPY --from=build-stage /app/frontend/dist ./server/public
COPY --chown=anythingllm:anythingllm ./collector/ ./collector/ COPY --chown=anythingllm:anythingllm ./collector/ ./collector/
# Install collector dependencies # Install collector dependencies
ENV PUPPETEER_DOWNLOAD_BASE_URL=https://storage.googleapis.com/chrome-for-testing-public
RUN cd /app/collector && yarn install --production --network-timeout 100000 && yarn cache clean RUN cd /app/collector && yarn install --production --network-timeout 100000 && yarn cache clean
# Setup the environment # Setup the environment