admin08077 commited on
Commit
5622372
·
verified ·
1 Parent(s): 8c3c807

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +21 -0
Dockerfile ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:18
2
+
3
+ WORKDIR /app
4
+
5
+ # Install unzip
6
+ RUN apt-get update && apt-get install -y unzip
7
+
8
+ # Copy your zip file
9
+ COPY Archive.zip /app/
10
+
11
+ # Unzip and remove the archive
12
+ RUN unzip Archive.zip && rm Archive.zip
13
+
14
+ # Install dependencies
15
+ RUN npm install
16
+
17
+ # Expose the port your app uses (change if needed)
18
+ EXPOSE 3000
19
+
20
+ # Start the app
21
+ CMD ["npm", "run", "dev"]