Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -26,6 +26,9 @@ RUN uv pip install -r requirements.txt
|
|
| 26 |
COPY --chown=user scripts/* /app/scripts/
|
| 27 |
RUN chmod +x scripts/docker-deploy.sh
|
| 28 |
|
|
|
|
|
|
|
|
|
|
| 29 |
ENV GEN_RAG_CHAT_MODEL="huggingface:Qwen/Qwen3-4B-Instruct-2507:cheapest"
|
| 30 |
ENV GEN_RAG_VS_CONFIG="/app/scripts/vector-stores.json"
|
| 31 |
ENV RUNNING_IN_DOCKER=1
|
|
|
|
| 26 |
COPY --chown=user scripts/* /app/scripts/
|
| 27 |
RUN chmod +x scripts/docker-deploy.sh
|
| 28 |
|
| 29 |
+
HEALTHCHECK --interval=30s --timeout=10s --retries=3 \
|
| 30 |
+
CMD curl -f http://localhost:7860/ || exit 1
|
| 31 |
+
|
| 32 |
ENV GEN_RAG_CHAT_MODEL="huggingface:Qwen/Qwen3-4B-Instruct-2507:cheapest"
|
| 33 |
ENV GEN_RAG_VS_CONFIG="/app/scripts/vector-stores.json"
|
| 34 |
ENV RUNNING_IN_DOCKER=1
|