File size: 322 Bytes
695da0d
 
 
 
 
 
 
 
 
 
 
 
 
 
892b763
695da0d
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Use official Node.js base image
FROM node:18-alpine

# Set working directory inside container
WORKDIR /usr/src/app

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

# Copy app files
COPY . .

# Expose the port the app runs on
EXPOSE 7860

# Start the application
CMD ["npm", "start"]