mycfoo commited on
Commit
0286d8a
1 Parent(s): 6f5355e

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +17 -0
Dockerfile ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the official Node.js image as the base image
2
+ FROM node:18
3
+
4
+ # Set the working directory inside the container
5
+ WORKDIR /app
6
+
7
+ # Clone the code from the GitHub repository
8
+ RUN git clone https://github.com/jokyo02/nodsydney .
9
+
10
+ # Install the dependencies
11
+ RUN npm install
12
+
13
+ # Expose the port that your application is listening on
14
+ EXPOSE 8080
15
+
16
+ # Start the application
17
+ CMD ["node", "src/index.js"]