Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -4,13 +4,13 @@ FROM node:22.6-bullseye
|
|
4 |
WORKDIR $HOME/app
|
5 |
|
6 |
# Clone HeyGen Github repository in app folder
|
7 |
-
RUN git clone https://github.com/mbarnig/
|
8 |
|
9 |
RUN --mount=type=secret,id=my_apis,mode=0444,required=true \
|
10 |
-
cat /run/secrets/my_apis > /app/
|
11 |
|
12 |
# change folder
|
13 |
-
WORKDIR $HOME/app/
|
14 |
|
15 |
# Loading Dependencies
|
16 |
RUN npm install
|
|
|
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 |
RUN --mount=type=secret,id=my_apis,mode=0444,required=true \
|
10 |
+
cat /run/secrets/my_apis > /app/Speak_with_Avatar/.env
|
11 |
|
12 |
# change folder
|
13 |
+
WORKDIR $HOME/app/Speak_with_Avatar
|
14 |
|
15 |
# Loading Dependencies
|
16 |
RUN npm install
|