mirror of
https://github.com/M4X809/list-of-lp.git
synced 2025-12-25 11:12:48 +00:00
Update Dockerfile to improve dependency management
- Modified the Dockerfile to copy bun.lock conditionally, ensuring it is included only if present. - Removed the frozen lockfile option during dependency installation to allow for more flexible updates.
This commit is contained in:
parent
25d212f884
commit
07b87ac8a7
1 changed files with 3 additions and 2 deletions
|
|
@ -6,10 +6,11 @@ FROM base AS deps
|
|||
WORKDIR /app
|
||||
|
||||
# Copy dependency files
|
||||
COPY package.json bun.lock ./
|
||||
COPY package.json ./
|
||||
COPY bun.lock* ./
|
||||
|
||||
# Install dependencies
|
||||
RUN bun install --frozen-lockfile
|
||||
RUN bun install
|
||||
|
||||
# Build the application
|
||||
FROM base AS builder
|
||||
|
|
|
|||
Loading…
Reference in a new issue