Remove HuggingFace token secret mounting from Dockerfile
Browse files- Simplify Dockerfile by removing unnecessary token secret mounting step
- Streamline Docker image build process
- Maintain clean and minimal Dockerfile configuration
- Dockerfile +0 -3
Dockerfile
CHANGED
@@ -10,7 +10,4 @@ COPY --chown=user . /app
|
|
10 |
|
11 |
EXPOSE 7860
|
12 |
|
13 |
-
RUN --mount=type=secret,id=HUGGINGFACE_TOKEN,mode=0444,required=true \
|
14 |
-
test -f /run/secrets/HUGGINGFACE_TOKEN && echo "Secret exists!"
|
15 |
-
|
16 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
10 |
|
11 |
EXPOSE 7860
|
12 |
|
|
|
|
|
|
|
13 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|