FROM node:20-slim # Install pnpm and essential tools RUN npm install -g pnpm WORKDIR /app # Copy server package file COPY package.json ./ # Install server dependencies RUN pnpm install # Copy all server files COPY . . # Hugging Face default port expose EXPOSE 7860 # Start the bridge server CMD ["node", "server.js"]