Update Dockerfile

This commit is contained in:
Liam 2022-11-09 11:48:57 +00:00
parent 034bec7ea1
commit 7fd37bcd61

View File

@ -7,11 +7,11 @@ WORKDIR /app
# Install dependencies based on the preferred package manager
COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./
RUN npm i
# Copy cached files
COPY node_modules ./
RUN npm i
# RUN \
# if [ -f yarn.lock ]; then yarn --frozen-lockfile; \
# elif [ -f package-lock.json ]; then npm ci; \