mbarnig commited on
Commit
e5ed38b
·
verified ·
1 Parent(s): ff7d783

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -7
Dockerfile CHANGED
@@ -1,12 +1,13 @@
1
  # Node base image
2
- FROM node:22
3
 
4
  WORKDIR $HOME/app
5
 
6
  # Clone HeyGen Github repository in app folder
7
- RUN git clone https://github.com/mbarnig/InteractiveAvatarNextJSDemo.git $HOME/app
8
 
9
- # Show content
 
10
  RUN ls -a
11
 
12
  # Loading Dependencies
@@ -14,8 +15,8 @@ RUN npm install
14
 
15
  RUN npm run dev
16
 
17
- # Expose application's default port
18
- EXPOSE 3000
19
-
20
  # Command to start the application
21
- CMD ["npm", "run", "dev"]
 
 
 
 
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/InteractiveAvatarNextJSDemo.git
8
 
9
+ # change folder
10
+ WORKDIR $HOME/app/InteractiveAvatarNextJSDemo
11
  RUN ls -a
12
 
13
  # Loading Dependencies
 
15
 
16
  RUN npm run dev
17
 
 
 
 
18
  # Command to start the application
19
+ CMD ["npm", "run", "dev"]
20
+
21
+ # Expose application's default port
22
+ EXPOSE 3000