Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ioanmo226/chatgpt-web-application
Browse files Browse the repository at this point in the history
  • Loading branch information
ioanmo226 committed Mar 8, 2023
2 parents d9dd366 + eeef92a commit de6f6cf
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Set the base image
FROM node:16

# Create and set the working directory
WORKDIR /app

# Copy the package.json and package-lock.json files to the container
COPY package*.json ./

# Install dependencies
RUN npm install

# Copy the rest of the application code to the container
COPY . .

# Expose port 3001
EXPOSE 3001

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

0 comments on commit de6f6cf

Please sign in to comment.