File size: 396 Bytes
8295436 0bdd5d6 8295436 0bdd5d6 8295436 57323e6 0bdd5d6 8295436 309ce1d 8295436 0bdd5d6 8295436 0bdd5d6 8295436 0bdd5d6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# Use an official Node.js runtime as base image
FROM node:18
# Set working directory
WORKDIR /app
# Install Node.js dependencies
RUN npm install express axios cheerio cors string-similarity
# Set Puppeteer to use Playwright's Chromium
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium
# Copy project files
COPY . .
# Expose API port
EXPOSE 7860
# Run the application
CMD ["node", "server.js"] |