Fix Dockerfile
This commit is contained in:
parent
ae621cae3f
commit
73b6f4795b
@ -4,8 +4,8 @@ FROM node:18-alpine AS deps
|
|||||||
RUN apk add libc6-compat
|
RUN apk add libc6-compat
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# # Install dependencies based on the preferred package manager
|
# Install dependencies based on the preferred package manager
|
||||||
# COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./
|
COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./
|
||||||
# RUN \
|
# RUN \
|
||||||
# if [ -f yarn.lock ]; then yarn --frozen-lockfile; \
|
# if [ -f yarn.lock ]; then yarn --frozen-lockfile; \
|
||||||
# elif [ -f package-lock.json ]; then npm ci; \
|
# elif [ -f package-lock.json ]; then npm ci; \
|
||||||
|
Reference in New Issue
Block a user