File size: 223 Bytes
6dda508
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Use lightweight Node.js Alpine image
FROM node:18-alpine

# Set working directory
WORKDIR /app

# Copy server file
COPY server.js .

# Expose port (default for HTTP)
EXPOSE 3000

# Run the server
CMD ["node", "server.js"]