initial commit
This commit is contained in:
@@ -3,12 +3,12 @@ FROM node:lts-alpine3.23 AS base
|
||||
WORKDIR /app
|
||||
COPY package.json package-lock.json ./
|
||||
|
||||
# Install necessary dependencies for sharp used by next/image (for image optimization)
|
||||
RUN apk add --no-cache libc6-compat
|
||||
|
||||
# Install dependencies
|
||||
RUN npm ci --legacy-peer-deps
|
||||
COPY . .
|
||||
|
||||
RUN apk add --no-cache libc6-compat
|
||||
|
||||
# --- STAGE 2: Environments
|
||||
# Development
|
||||
FROM base AS development
|
||||
|
||||
Reference in New Issue
Block a user