Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -18,10 +18,11 @@ WORKDIR /app
|
|
| 18 |
# Add SSH key for GitHub authentication
|
| 19 |
ARG SSH_PRIVATE_KEY
|
| 20 |
RUN mkdir -p /root/.ssh/ && \
|
| 21 |
-
echo "${SSH_PRIVATE_KEY}" > /root/.ssh/id_rsa && \
|
| 22 |
chmod 600 /root/.ssh/id_rsa && \
|
| 23 |
ssh-keyscan github.com >> /root/.ssh/known_hosts
|
| 24 |
|
|
|
|
| 25 |
# Clone private repo and checkout branch
|
| 26 |
ARG GITHUB_REPO=git@github.com:Fvt-second/Giftx_api.git
|
| 27 |
ARG GITHUB_BRANCH=coolify
|
|
|
|
| 18 |
# Add SSH key for GitHub authentication
|
| 19 |
ARG SSH_PRIVATE_KEY
|
| 20 |
RUN mkdir -p /root/.ssh/ && \
|
| 21 |
+
echo -e "${SSH_PRIVATE_KEY}" > /root/.ssh/id_rsa && \
|
| 22 |
chmod 600 /root/.ssh/id_rsa && \
|
| 23 |
ssh-keyscan github.com >> /root/.ssh/known_hosts
|
| 24 |
|
| 25 |
+
|
| 26 |
# Clone private repo and checkout branch
|
| 27 |
ARG GITHUB_REPO=git@github.com:Fvt-second/Giftx_api.git
|
| 28 |
ARG GITHUB_BRANCH=coolify
|