Update Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
|
@@ -8,6 +8,12 @@ ENV UV_SYSTEM_PYTHON=1
|
|
| 8 |
WORKDIR /app
|
| 9 |
|
| 10 |
COPY --chown=user ./requirements.txt requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
RUN uv pip install -r requirements.txt
|
| 12 |
|
| 13 |
COPY --chown=user . /app
|
|
|
|
| 8 |
WORKDIR /app
|
| 9 |
|
| 10 |
COPY --chown=user ./requirements.txt requirements.txt
|
| 11 |
+
USER root
|
| 12 |
+
RUN apt-get update && apt-get install -y curl build-essential
|
| 13 |
+
RUN curl --proto '=https' --tlsv1.2 -sSf https://rustup.rs | sh -s -- -y
|
| 14 |
+
ENV PATH="/home/user/.cargo/bin:${PATH}"
|
| 15 |
+
USER user
|
| 16 |
+
|
| 17 |
RUN uv pip install -r requirements.txt
|
| 18 |
|
| 19 |
COPY --chown=user . /app
|