HenzHosting commited on
Commit
2de4826
·
verified ·
1 Parent(s): 298d8b5

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +22 -0
Dockerfile ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ # Use a lightweight Node.js image
4
+ FROM node:18-bullseye
5
+
6
+ # Set working directory
7
+ WORKDIR /app
8
+
9
+ RUN git clone https://github.com/yummi184/Fake-Crypto-Wallet.git /app
10
+
11
+ # Set correct permissions
12
+ RUN chmod -R 777 /app
13
+
14
+ # Install project dependencies
15
+ WORKDIR /app
16
+ RUN npm install
17
+
18
+ # Expose a port
19
+ EXPOSE 7860
20
+
21
+ # Start the application
22
+ CMD ["node", "server.js"]