Skip to content

Commit

Permalink
Explicitly install sharp to see whether that makes a difference on do…
Browse files Browse the repository at this point in the history
…cker

I think, there may be an issue with `npm ci` trying to install a macos version…
  • Loading branch information
smarr committed May 7, 2023
1 parent cb61cf2 commit c98b95d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ 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 .

ENV POSTGRES_PASSWORD=docker
Expand Down

0 comments on commit c98b95d

Please sign in to comment.