File size: 365 Bytes
5c59e1f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM node:20

# Install dependensi sistem keur Chrome & Sharp
RUN apt-get update && apt-get install -y \
    libgbm-dev libnss3 libasound2 libxss1 libxtst6 \
    libgl1-mesa-glx libglib2.0-0 tesseract-ocr \
    --no-install-recommends && rm -rf /var/lib/apt/lists/*

WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .

ENV PORT=7860
CMD ["node", "api.js"]