File size: 405 Bytes
416241e
b7b8d44
416241e
 
1cc9400
416241e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Use the official Node.js image as the base image
FROM node:current-bullseye

# Set the working directory in the container
WORKDIR /vpsfree-45

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

# Install dependencies
RUN npm install

# Copy the rest of the application code
COPY . .

# Expose the port the app runs on
EXPOSE 7860

# Command to run the application
CMD ["node", "server.js"]