Skip to content

Commit de6f6cf

Browse files
committed
Merge branch 'master' of github.com:ioanmo226/chatgpt-web-application
2 parents d9dd366 + eeef92a commit de6f6cf

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Dockerfile

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Set the base image
2+
FROM node:16
3+
4+
# Create and set the working directory
5+
WORKDIR /app
6+
7+
# Copy the package.json and package-lock.json files to the container
8+
COPY package*.json ./
9+
10+
# Install dependencies
11+
RUN npm install
12+
13+
# Copy the rest of the application code to the container
14+
COPY . .
15+
16+
# Expose port 3001
17+
EXPOSE 3001
18+
19+
# Start the node server
20+
CMD ["node", "index.js"]

0 commit comments

Comments
 (0)