File size: 495 Bytes
f55a423
c270cf5
f55a423
 
 
 
 
 
 
 
 
 
3d7d40c
45e846c
3d7d40c
f55a423
 
 
 
 
cb3e4b6
f55a423
 
c9647f1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Use the official Node.js image as the base image
FROM node:14-alpine

# 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 npm dependencies
RUN npm install


RUN npm install node-fetch cross-fetch


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

# Expose the port your app runs on
EXPOSE 7860

# Command to run the application
CMD ["node", "index.js"]