File size: 357 Bytes
7710bff
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Use the official Node.js LTS image
FROM node:18-alpine

# Set the working directory inside the container
WORKDIR /app

# Install dependencies
RUN npm install express cors axios node-cron

# Copy the entire project into the container
COPY . .

# Expose the port (must match the Express server port)
EXPOSE 7860

# Start the server
CMD ["node", "server.js"]