Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -40,6 +40,9 @@ COPY --chown=worker *.yaml *.md ./
|
|
| 40 |
|
| 41 |
USER worker
|
| 42 |
|
|
|
|
|
|
|
|
|
|
| 43 |
# Expose the secret SECRET_EXAMPLE at buildtime and use its value as git remote URL
|
| 44 |
RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true \
|
| 45 |
git init && \
|
|
|
|
| 40 |
|
| 41 |
USER worker
|
| 42 |
|
| 43 |
+
# Install git
|
| 44 |
+
RUN apt-get update && apt-get install -y git
|
| 45 |
+
|
| 46 |
# Expose the secret SECRET_EXAMPLE at buildtime and use its value as git remote URL
|
| 47 |
RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true \
|
| 48 |
git init && \
|