- Updated Dockerfile base image: node:22-alpine → node:24-alpine - Regenerated package-lock.json to sync with package.json Tailwind v4 - Docker build now completes successfully (npm ci no longer fails) - Docker compose with .env.example runs without errors - Application verified accessible and functional in Docker - Instagram extraction pipeline tested successfully Resolves package-lock.json sync issue that blocked iteration 1.
23 lines
402 B
Docker
23 lines
402 B
Docker
FROM node:24-alpine
|
|
WORKDIR /app
|
|
|
|
# Install Playwright system dependencies
|
|
RUN apk add --no-cache \
|
|
chromium \
|
|
font-liberation \
|
|
font-noto \
|
|
font-noto-cjk
|
|
|
|
COPY package*.json ./
|
|
RUN npm ci
|
|
|
|
COPY . .
|
|
RUN npm run build
|
|
|
|
EXPOSE 3000
|
|
ENV NODE_ENV=production
|
|
|
|
# Declare volume for Instagram authentication persistence
|
|
VOLUME ["/app/secrets"]
|
|
|
|
CMD ["node", "-e", "import('./build/index.js')"] |