Docker update
This commit is contained in:
@ -1,17 +1,14 @@
|
||||
FROM node:18-alpine
|
||||
FROM node:18
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install system dependencies
|
||||
RUN apk add --no-cache libc6-compat
|
||||
|
||||
# Copy package files
|
||||
COPY package.json pnpm-lock.yaml* ./
|
||||
|
||||
# Install pnpm and dependencies
|
||||
# Install dependencies
|
||||
RUN corepack enable pnpm && pnpm install --frozen-lockfile
|
||||
|
||||
# Copy all source files
|
||||
# Copy source code
|
||||
COPY . .
|
||||
|
||||
# Disable telemetry
|
||||
|
||||
Reference in New Issue
Block a user