File size: 441 Bytes
7e76b3e
 
ddcd4fc
7e76b3e
 
ddcd4fc
7e76b3e
 
ddcd4fc
7e76b3e
 
ddcd4fc
7e76b3e
 
ddcd4fc
05f21ba
 
7e76b3e
dd7a197
ddcd4fc
7e76b3e
2d5f7ff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Use an official Node.js image as the base
FROM node:20.6.1

# Set the working directory to /app
WORKDIR /app

# Copy the package*.json files into the container
COPY package*.json ./

# Install the dependencies
RUN npm install

# Copy the rest of the application code into the container
COPY . .

RUN npm run build

# Expose the port that the application will use
EXPOSE 7860

# Run the command to start the application
CMD ["npm", "start"]