Update Dockerfile (fix docker deployment)
This commit is contained in:
@@ -6,7 +6,10 @@ WORKDIR /app
|
|||||||
# Install dependencies (this step is cached as long as the dependencies don't change)
|
# Install dependencies (this step is cached as long as the dependencies don't change)
|
||||||
COPY package.json pnpm-lock.yaml ./
|
COPY package.json pnpm-lock.yaml ./
|
||||||
|
|
||||||
RUN corepack enable pnpm && pnpm install
|
#RUN npm install -g corepack@latest
|
||||||
|
|
||||||
|
#RUN corepack enable pnpm && pnpm install
|
||||||
|
RUN npm install -g pnpm && pnpm install
|
||||||
|
|
||||||
# Copy the rest of your app's source code
|
# Copy the rest of your app's source code
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
Reference in New Issue
Block a user