Skip to content

Commit

Permalink
Do full install to avoid issues with sharp
Browse files Browse the repository at this point in the history
  • Loading branch information
smarr committed May 7, 2023
1 parent c98b95d commit 8e521fc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ COPY ./package.json ./package-lock.json /project/
# Set the working dir to the project & install and compile all dependency
WORKDIR /project/

RUN npm install --ignore-scripts=false --foreground-scripts --verbose sharp
RUN npm ci --ignore-scripts .
# RUN npm ci --ignore-scripts .
# Do a full install to avoid issues with sharp
RUN npm install .

ENV POSTGRES_PASSWORD=docker
ENV POSTGRES_USER=docker
Expand Down

0 comments on commit 8e521fc

Please sign in to comment.