File size: 347 Bytes
37e76dd
 
 
 
 
 
 
 
 
 
 
 
 
 
6ad2b0c
37e76dd
 
78ba07a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Use an official Node.js runtime as a parent image
FROM node:14

# Set the working directory
WORKDIR /app

# Copy package.json and install dependencies
COPY package.json ./
RUN npm install

# Copy the rest of the application code
COPY . .

# Expose the port your app runs on
EXPOSE 7860

# Define the command to run your app
CMD ["npm", "start"]