Deployment
Vercel
Please make sure you have added the following NPM_TOKEN in your environment variables on vercel
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
Docker
Add the following code to your DockerFile
# 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 ci --force; \
# elif [ -f pnpm-lock.yaml ]; then yarn global add pnpm && pnpm i; \
# else echo "Lockfile not found." && exit 1; \
# fi
COPY .npmrc ./
RUN npm i --force
Last updated