Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -1,5 +1,8 @@
|
|
| 1 |
FROM python:3.12
|
| 2 |
|
|
|
|
|
|
|
|
|
|
| 3 |
RUN useradd -m -u 1000 user
|
| 4 |
USER user
|
| 5 |
ENV PATH="/home/user/.local/bin:$PATH"
|
|
@@ -9,8 +12,6 @@ WORKDIR /app
|
|
| 9 |
|
| 10 |
COPY --chown=user . /app
|
| 11 |
|
| 12 |
-
RUN pip install --no-cache-dir torch==2.2.2
|
| 13 |
-
RUN pip install --no-cache-dir flash-attn
|
| 14 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 15 |
RUN CMAKE_ARGS="-DGGML_CUDA=on" pip install outetts --upgrade
|
| 16 |
|
|
|
|
| 1 |
FROM python:3.12
|
| 2 |
|
| 3 |
+
RUN pip install --no-cache-dir torch==2.2.2
|
| 4 |
+
RUN pip install --no-cache-dir flash-attn
|
| 5 |
+
|
| 6 |
RUN useradd -m -u 1000 user
|
| 7 |
USER user
|
| 8 |
ENV PATH="/home/user/.local/bin:$PATH"
|
|
|
|
| 12 |
|
| 13 |
COPY --chown=user . /app
|
| 14 |
|
|
|
|
|
|
|
| 15 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 16 |
RUN CMAKE_ARGS="-DGGML_CUDA=on" pip install outetts --upgrade
|
| 17 |
|