FROM node:18-slim RUN apt-get update && apt-get install -y libgomp1 git git-lfs && \ git lfs install && \ rm -rf /var/lib/apt/lists/* WORKDIR /app COPY package*.json ./ RUN npm install COPY . . RUN ls -lh . RUN chmod -R 777 /app EXPOSE 7860 CMD ["node", "server.js"]