Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -19,10 +19,10 @@ ARG GITHUB_REPO
|
|
19 |
ARG GITHUB_TOKEN
|
20 |
|
21 |
# Clone repo menggunakan token di header (bukan di URL)
|
22 |
-
RUN git clone --depth=1 https://${GITHUB_TOKEN}@github.com/${GITHUB_REPO}.git AI
|
23 |
|
24 |
# Set working directory ke dalam project
|
25 |
-
WORKDIR /app/AI
|
26 |
|
27 |
# Install dependencies jika requirements.txt ada
|
28 |
RUN test -f requirements.txt && pip install --no-cache-dir -r requirements.txt || echo "No requirements.txt found"
|
|
|
19 |
ARG GITHUB_TOKEN
|
20 |
|
21 |
# Clone repo menggunakan token di header (bukan di URL)
|
22 |
+
RUN git clone --depth=1 https://${GITHUB_TOKEN}@github.com/${GITHUB_REPO}.git AI-API
|
23 |
|
24 |
# Set working directory ke dalam project
|
25 |
+
WORKDIR /app/AI-API
|
26 |
|
27 |
# Install dependencies jika requirements.txt ada
|
28 |
RUN test -f requirements.txt && pip install --no-cache-dir -r requirements.txt || echo "No requirements.txt found"
|