Spaces:
Sleeping
Sleeping
updating dockerfile and requirements
Browse files- Dockerfile +5 -1
- requirements.txt +2 -2
Dockerfile
CHANGED
|
@@ -7,9 +7,13 @@ WORKDIR /app
|
|
| 7 |
# Create a writable cache directory for Hugging Face
|
| 8 |
RUN mkdir -p /app/.cache/huggingface/hub && chmod -R 777 /app/.cache
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
# Copy dependencies
|
| 11 |
COPY requirements.txt .
|
| 12 |
-
RUN pip install -r requirements.txt
|
| 13 |
|
| 14 |
# Copy all files
|
| 15 |
COPY . .
|
|
|
|
| 7 |
# Create a writable cache directory for Hugging Face
|
| 8 |
RUN mkdir -p /app/.cache/huggingface/hub && chmod -R 777 /app/.cache
|
| 9 |
|
| 10 |
+
# Install supabase-py directly from GitHub
|
| 11 |
+
RUN pip install --upgrade pip
|
| 12 |
+
RUN pip install git+https://github.com/supabase/supabase-py.git
|
| 13 |
+
|
| 14 |
# Copy dependencies
|
| 15 |
COPY requirements.txt .
|
| 16 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 17 |
|
| 18 |
# Copy all files
|
| 19 |
COPY . .
|
requirements.txt
CHANGED
|
@@ -12,5 +12,5 @@ numpy==1.26.3
|
|
| 12 |
pytest==7.4.3
|
| 13 |
pytest-asyncio==0.21.1
|
| 14 |
httpx==0.25.2 # Ensure you're using the version you need, or consider downgrading if needed
|
| 15 |
-
supabase-py #
|
| 16 |
-
configparser>=6.0.0
|
|
|
|
| 12 |
pytest==7.4.3
|
| 13 |
pytest-asyncio==0.21.1
|
| 14 |
httpx==0.25.2 # Ensure you're using the version you need, or consider downgrading if needed
|
| 15 |
+
supabase-py # Keep it without a version constraint, or pin to a working version like 1.0.0
|
| 16 |
+
configparser>=6.0.0
|