Spaces:
Running
Running
app-ea4all-podcast-deploy
Browse files- Dockerfile +10 -0
Dockerfile
CHANGED
@@ -22,6 +22,16 @@ RUN --mount=type=secret,id=HUGGINGFACEHUB_API_TOKEN,mode=0444,required=true \
|
|
22 |
cat /run/secrets/HUGGINGFACEHUB_API_TOKEN > /home/user/cli_token
|
23 |
# Azure BING Search AI API
|
24 |
RUN --mount=type=secret,id=BING_SUBSCRIPTION_KEY,mode=0444,required=true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
|
26 |
RUN pip install -U "huggingface_hub[cli]"
|
27 |
RUN git init & git config --global credential.helper store
|
|
|
22 |
cat /run/secrets/HUGGINGFACEHUB_API_TOKEN > /home/user/cli_token
|
23 |
# Azure BING Search AI API
|
24 |
RUN --mount=type=secret,id=BING_SUBSCRIPTION_KEY,mode=0444,required=true
|
25 |
+
# CONFLUENCE API KEY
|
26 |
+
RUN --mount=type=secret,id=CONFLUENCE_API_KEY,mode=0444,required=true
|
27 |
+
|
28 |
+
# Install Git and Git LFS RUN apt-get update && apt-get install -y git-lfs # Initialize Git LFS RUN git lfs install
|
29 |
+
USER root
|
30 |
+
RUN apt-get update && apt-get install -y git-lfs
|
31 |
+
# Initialize Git LFS RUN git lfs install
|
32 |
+
RUN git lfs install
|
33 |
+
|
34 |
+
USER user
|
35 |
|
36 |
RUN pip install -U "huggingface_hub[cli]"
|
37 |
RUN git init & git config --global credential.helper store
|