mirror of
https://github.com/immich-app/immich.git
synced 2025-01-01 08:31:59 +00:00
Use npm ci
for installing pacakages (#304)
This commit is contained in:
parent
97d9b80baa
commit
355038a91a
3 changed files with 7 additions and 7 deletions
|
@ -9,7 +9,7 @@ COPY package.json package-lock.json ./
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get install gcc g++ make cmake python3 python3-pip ffmpeg -y
|
RUN apt-get install gcc g++ make cmake python3 python3-pip ffmpeg -y
|
||||||
|
|
||||||
RUN npm install
|
RUN npm ci
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ COPY package.json package-lock.json ./
|
||||||
|
|
||||||
RUN apk add --update-cache build-base python3 libheif vips-dev vips ffmpeg
|
RUN apk add --update-cache build-base python3 libheif vips-dev vips ffmpeg
|
||||||
|
|
||||||
RUN npm install --legacy-peer-deps
|
RUN npm ci
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ COPY --chown=node:node package*.json ./
|
||||||
|
|
||||||
RUN apk add --update-cache build-base python3
|
RUN apk add --update-cache build-base python3
|
||||||
|
|
||||||
RUN npm install
|
RUN npm ci
|
||||||
|
|
||||||
COPY --chown=node:node . .
|
COPY --chown=node:node . .
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ COPY --chown=node:node . .
|
||||||
|
|
||||||
RUN apk add --update-cache build-base python3
|
RUN apk add --update-cache build-base python3
|
||||||
|
|
||||||
RUN npm install
|
RUN npm ci
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue