Spaces:
Running
Running
update dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -4,6 +4,9 @@ FROM python:3.10-slim
|
|
4 |
# Set working directory inside container
|
5 |
WORKDIR /app
|
6 |
|
|
|
|
|
|
|
7 |
# Create a writable cache directory for Hugging Face
|
8 |
RUN mkdir -p /app/.cache/huggingface/hub && chmod -R 777 /app/.cache
|
9 |
|
|
|
4 |
# Set working directory inside container
|
5 |
WORKDIR /app
|
6 |
|
7 |
+
# Install git (required to install from GitHub)
|
8 |
+
RUN apt-get update && apt-get install -y git
|
9 |
+
|
10 |
# Create a writable cache directory for Hugging Face
|
11 |
RUN mkdir -p /app/.cache/huggingface/hub && chmod -R 777 /app/.cache
|
12 |
|