Skip to content

Commit

Permalink
actions test
Browse files Browse the repository at this point in the history
  • Loading branch information
dietrichmax committed Jan 30, 2024
1 parent d6488d3 commit 50c7db1
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,8 @@ WORKDIR /app

# Install dependencies based on the preferred package manager
COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./
RUN \
if [ -f yarn.lock ]; then yarn --frozen-lockfile; \
elif [ -f package-lock.json ]; then npm install; \
elif [ -f pnpm-lock.yaml ]; then yarn global add pnpm && pnpm i --frozen-lockfile; \
else echo "Lockfile not found." && exit 1; \
fi


RUN npm install
RUN npm install sharp
RUN npm install husky --save-dev

Expand Down

0 comments on commit 50c7db1

Please sign in to comment.