diff --git a/docker/debian-bullseye/Dockerfile.build b/docker/debian-bullseye/Dockerfile.build index 3ef2369d..a7d3cdfb 100644 --- a/docker/debian-bullseye/Dockerfile.build +++ b/docker/debian-bullseye/Dockerfile.build @@ -4,7 +4,7 @@ FROM node:18-bullseye AS builder RUN apt update && apt install -y --no-install-recommends libvips-dev python3 COPY pigallery2-release /app WORKDIR /app -RUN npm install --unsafe-perm +RUN npm install --unsafe-perm --fetch-timeout=90000 RUN mkdir -p /app/data/config && \ mkdir -p /app/data/db && \ mkdir -p /app/data/images && \ diff --git a/docker/debian-buster/Dockerfile.build b/docker/debian-buster/Dockerfile.build index 38f525cb..855ccde0 100644 --- a/docker/debian-buster/Dockerfile.build +++ b/docker/debian-buster/Dockerfile.build @@ -4,7 +4,7 @@ FROM node:18-buster AS builder RUN apt update && apt install -y --no-install-recommends libvips-dev python3 COPY pigallery2-release /app WORKDIR /app -RUN npm install --unsafe-perm +RUN npm install --unsafe-perm --fetch-timeout=90000 RUN mkdir -p /app/data/config && \ mkdir -p /app/data/db && \ mkdir -p /app/data/images && \