Create Dockerfile
Browse files12345678910111213141516171819FROM node:20-slim
WORKDIR /code
# Copy package filesCOPY package*.json ./
# Install dependencies (adding dotenv)RUN npm install express node-fetch cors dotenv
# Bundle app sourceCOPY . .
# Default environment variables if not provided at runtimeENV PORT=7860ENV NODE_ENV=production
# Start the applicationCMD ["node", "index.js"]DockerfileAdded+19