Docker update

This commit is contained in:
mukesh13
2025-06-17 15:23:32 +05:30
parent 6a3758bf33
commit 460a122276

View File

@ -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
@ -23,5 +20,5 @@ RUN pnpm build
# Expose port
EXPOSE 3000
# Start the application
# Start the application
CMD ["pnpm", "start"]