mirror of
https://github.com/LukeHagar/pypistats.dev.git
synced 2025-12-06 12:47:48 +00:00
Update Dockerfile to install all dependencies including devDependencies for build process
This commit is contained in:
@@ -15,8 +15,8 @@ COPY package.json pnpm-lock.yaml* ./
|
||||
# Enable and use pnpm via corepack
|
||||
RUN corepack enable && corepack prepare pnpm@9.12.3 --activate
|
||||
|
||||
# Install dependencies
|
||||
RUN pnpm install --frozen-lockfile
|
||||
# Install dependencies (include devDependencies needed for build)
|
||||
RUN pnpm install --frozen-lockfile --prod=false
|
||||
|
||||
# Copy the rest of the source
|
||||
COPY . .
|
||||
|
||||
Reference in New Issue
Block a user