Update Dockerfile (fix docker deployment)

This commit is contained in:
Leex 2025-02-23 22:37:38 +01:00 committed by GitHub
parent ecf3cad189
commit a87eae2119
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,10 @@ WORKDIR /app
# Install dependencies (this step is cached as long as the dependencies don't change)
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 . .