File size: 325 Bytes
b5f45c9
 
364fc28
944674c
9fb8f15
b5f45c9
 
364fc28
634ef06
b5f45c9
364fc28
9fb8f15
364fc28
b5f45c9
364fc28
 
944674c
 
634ef06
364fc28
 
b5f45c9
 
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 an official Node.js runtime as a parent image
FROM node:18-alpine



# Set the working directory
WORKDIR /app

# Copy package.json and package-lock.json
COPY package.json ./



# Copy the rest of the application
COPY . .

RUN npm install

# Expose the port
EXPOSE 3000

# Start the application
CMD ["node", "index.js"]