Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
-
|
|
|
|
| 2 |
|
| 3 |
ENV DEBIAN_FRONTEND=noninteractive
|
| 4 |
ENV PYTHONUNBUFFERED=1
|
|
@@ -19,7 +20,7 @@ WORKDIR $HOME/app
|
|
| 19 |
|
| 20 |
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
|
| 21 |
|
| 22 |
-
#
|
| 23 |
RUN uv pip install --system --no-cache-dir hermes-agent
|
| 24 |
|
| 25 |
COPY --chown=user . .
|
|
|
|
| 1 |
+
# Step 1: Python 3.11 Base Image use kar rahe hain jo hermes-agent ko chahiye
|
| 2 |
+
FROM python:3.11-slim
|
| 3 |
|
| 4 |
ENV DEBIAN_FRONTEND=noninteractive
|
| 5 |
ENV PYTHONUNBUFFERED=1
|
|
|
|
| 20 |
|
| 21 |
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
|
| 22 |
|
| 23 |
+
# Ab Python 3.11 hai, to uv smoothly install kar dega
|
| 24 |
RUN uv pip install --system --no-cache-dir hermes-agent
|
| 25 |
|
| 26 |
COPY --chown=user . .
|