Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -8,10 +8,12 @@ RUN ls -a
|
|
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=session_password,mode=0444,required=true \
|
14 |
-
# cat /run/secrets/session_password > /swp.txt && cat /swp.txt
|
15 |
cat /run/secrets/session_password > /app/Chat_with_Avatar/public/swp.txt && cat /app/Chat_with_Avatar/public/swp.txt
|
16 |
|
17 |
# change folder
|
|
|
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/session_password > /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
|
18 |
|
19 |
# change folder
|