Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
|
@@ -4,7 +4,7 @@ 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/InteractiveAvatarNextJSDemo.git
|
| 8 |
|
| 9 |
RUN --mount=type=secret,id=my_apis,mode=0444,required=true \
|
| 10 |
cat /run/secrets/my_apis > /app/Chat_with_Avatar/.env && cat /app/Chat_with_Avatar/.env
|
|
@@ -12,6 +12,10 @@ cat /run/secrets/my_apis > /app/Chat_with_Avatar/.env && cat /app/Chat_with_Avat
|
|
| 12 |
# change folder
|
| 13 |
WORKDIR $HOME/app/Chat_with_Avatar
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
# Loading Dependencies
|
| 16 |
RUN npm install
|
| 17 |
|
|
|
|
| 4 |
WORKDIR $HOME/app
|
| 5 |
|
| 6 |
# Clone HeyGen Github repository in app folder
|
| 7 |
+
RUN git clone https://github.com/mbarnig/https://github.com/mbarnig/InteractiveAvatarNextJSDemo.git
|
| 8 |
|
| 9 |
RUN --mount=type=secret,id=my_apis,mode=0444,required=true \
|
| 10 |
cat /run/secrets/my_apis > /app/Chat_with_Avatar/.env && cat /app/Chat_with_Avatar/.env
|
|
|
|
| 12 |
# change folder
|
| 13 |
WORKDIR $HOME/app/Chat_with_Avatar
|
| 14 |
|
| 15 |
+
RUN ls -al
|
| 16 |
+
|
| 17 |
+
RUN cat .env
|
| 18 |
+
|
| 19 |
# Loading Dependencies
|
| 20 |
RUN npm install
|
| 21 |
|