1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

trying npm install --fetch-timeout=90000

This commit is contained in:
Patrik J. Braun 2024-04-17 20:15:05 +02:00
parent 53caa6697c
commit e50861fce4
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ FROM node:18-bullseye AS builder
RUN apt update && apt install -y --no-install-recommends libvips-dev python3 RUN apt update && apt install -y --no-install-recommends libvips-dev python3
COPY pigallery2-release /app COPY pigallery2-release /app
WORKDIR /app WORKDIR /app
RUN npm install --unsafe-perm RUN npm install --unsafe-perm --fetch-timeout=90000
RUN mkdir -p /app/data/config && \ RUN mkdir -p /app/data/config && \
mkdir -p /app/data/db && \ mkdir -p /app/data/db && \
mkdir -p /app/data/images && \ mkdir -p /app/data/images && \

View File

@ -4,7 +4,7 @@ FROM node:18-buster AS builder
RUN apt update && apt install -y --no-install-recommends libvips-dev python3 RUN apt update && apt install -y --no-install-recommends libvips-dev python3
COPY pigallery2-release /app COPY pigallery2-release /app
WORKDIR /app WORKDIR /app
RUN npm install --unsafe-perm RUN npm install --unsafe-perm --fetch-timeout=90000
RUN mkdir -p /app/data/config && \ RUN mkdir -p /app/data/config && \
mkdir -p /app/data/db && \ mkdir -p /app/data/db && \
mkdir -p /app/data/images && \ mkdir -p /app/data/images && \