File size: 403 Bytes
807bb16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5920a85
807bb16
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Node version 20
FROM node:20.8.0

# Set the working directory in the container
WORKDIR /usr/src/app

# Copy package.json and package-lock.json to the working directory
COPY package*.json ./

# Install app dependencies
RUN npm install

# Copy the application code to the working directory
COPY . .

# Expose the port the app runs on
EXPOSE 7860

# Command to run your application
CMD ["node", "app.js"]