Testing requirements.txt file
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
@@ -21,12 +21,13 @@ RUN --mount=type=secret,id=GITHUB_TOKEN,mode=0444,required=true \
|
|
21 |
git clone "https://$(cat /run/secrets/GITHUB_TOKEN)@$(cat /run/secrets/GITHUB_REPO_URL)" /app/cloned_repo; \
|
22 |
fi
|
23 |
|
24 |
-
# Copy requirements.txt and install dependencies
|
25 |
-
COPY requirements.txt .
|
26 |
-
RUN pip install -r requirements.txt
|
27 |
|
28 |
# Change working directory to the cloned repository
|
29 |
WORKDIR /app/cloned_repo
|
|
|
30 |
|
31 |
#Expose port for HF
|
32 |
EXPOSE 8501
|
|
|
21 |
git clone "https://$(cat /run/secrets/GITHUB_TOKEN)@$(cat /run/secrets/GITHUB_REPO_URL)" /app/cloned_repo; \
|
22 |
fi
|
23 |
|
24 |
+
# # Copy requirements.txt and install dependencies
|
25 |
+
# COPY requirements.txt .
|
26 |
+
# RUN pip install -r requirements.txt
|
27 |
|
28 |
# Change working directory to the cloned repository
|
29 |
WORKDIR /app/cloned_repo
|
30 |
+
RUN pip install -r requirements.txt
|
31 |
|
32 |
#Expose port for HF
|
33 |
EXPOSE 8501
|