Spaces:
Sleeping
Sleeping
Delete Dockerfile
Browse files- Dockerfile +0 -20
Dockerfile
DELETED
|
@@ -1,20 +0,0 @@
|
|
| 1 |
-
FROM python:3.10-slim
|
| 2 |
-
|
| 3 |
-
RUN apt-get update && apt-get install -y --no-install-recommends libgomp1 \
|
| 4 |
-
&& rm -rf /var/lib/apt/lists/*
|
| 5 |
-
|
| 6 |
-
RUN useradd -m -u 1000 user
|
| 7 |
-
USER user
|
| 8 |
-
ENV PATH="/home/user/.local/bin:$PATH" \
|
| 9 |
-
HF_HOME=/home/user/.cache/huggingface
|
| 10 |
-
WORKDIR /home/user/app
|
| 11 |
-
|
| 12 |
-
RUN pip install --no-cache-dir llama-cpp-python \
|
| 13 |
-
--only-binary=:all: \
|
| 14 |
-
--extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu
|
| 15 |
-
|
| 16 |
-
COPY --chown=user requirements.txt .
|
| 17 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 18 |
-
|
| 19 |
-
COPY --chown=user . .
|
| 20 |
-
CMD ["python", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|