mbarnig commited on
Commit
b60fc96
·
verified ·
1 Parent(s): 9b75821

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +29 -0
Dockerfile ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Node base image
2
+ FROM node:22.6-bullseye
3
+
4
+ WORKDIR $HOME/app
5
+
6
+ # Clone HeyGen Github repository in app folder
7
+ RUN git clone https://github.com/mbarnig/Speak_with_Avatar.git
8
+
9
+ COPY .env $HOME/app/Speak_with_Avatar/.env
10
+
11
+ # change folder
12
+ WORKDIR $HOME/app/Speak_with_Avatar
13
+ RUN ls -a
14
+
15
+ # Loading Dependencies
16
+ RUN npm install
17
+
18
+ # RUN npm run dev
19
+
20
+ RUN npm run build
21
+
22
+ # Expose application's default port
23
+ EXPOSE 7860
24
+
25
+ # Entrypoint
26
+ # ENTRYPOINT ["npm", "run", "start"]
27
+
28
+ # Command to start the application
29
+ CMD ["npm", "run", "start"]