yashxx07 commited on
Commit
f55a423
1 Parent(s): 67d83c7

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +23 -0
Dockerfile ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the official Node.js image as the base image
2
+ FROM node:14
3
+
4
+ # Set the working directory in the container
5
+ WORKDIR /usr/src/app
6
+
7
+ # Copy package.json and package-lock.json to the working directory
8
+ COPY package*.json ./
9
+
10
+ # Install npm dependencies
11
+ RUN npm install
12
+
13
+ # Install additional dependencies
14
+ RUN npm install firebase-admin node-fetch
15
+
16
+ # Copy the rest of the application code to the working directory
17
+ COPY . .
18
+
19
+ # Expose the port your app runs on
20
+ EXPOSE 7860
21
+
22
+ # Command to run the application
23
+ CMD ["node", "app.js"]