Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -8,10 +8,10 @@ RUN ls -al
|
|
| 8 |
# Clone HeyGen Github repository in app folder
|
| 9 |
RUN git clone https://github.com/mbarnig/Chat_with_Avatar.git
|
| 10 |
|
| 11 |
-
|
| 12 |
|
| 13 |
-
RUN --mount=type=secret,id=my_apis,mode=0444,required=true \
|
| 14 |
-
cat /run/secrets/my_apis > /app/Chat_with_Avatar/.env && cat /app/Chat_with_Avatar/.env
|
| 15 |
|
| 16 |
RUN --mount=type=secret,id=session_password,mode=0444,required=true \
|
| 17 |
cat /run/secrets/session_password > /app/Chat_with_Avatar/public/swp.txt && cat /app/Chat_with_Avatar/public/swp.txt
|
|
|
|
| 8 |
# Clone HeyGen Github repository in app folder
|
| 9 |
RUN git clone https://github.com/mbarnig/Chat_with_Avatar.git
|
| 10 |
|
| 11 |
+
COPY .env $HOME/app/Chat_with_Avatar/.env
|
| 12 |
|
| 13 |
+
# RUN --mount=type=secret,id=my_apis,mode=0444,required=true \
|
| 14 |
+
# cat /run/secrets/my_apis > /app/Chat_with_Avatar/.env && cat /app/Chat_with_Avatar/.env
|
| 15 |
|
| 16 |
RUN --mount=type=secret,id=session_password,mode=0444,required=true \
|
| 17 |
cat /run/secrets/session_password > /app/Chat_with_Avatar/public/swp.txt && cat /app/Chat_with_Avatar/public/swp.txt
|