Spaces:
Runtime error
Runtime error
thuralinhtut
commited on
Commit
•
bde9f5a
1
Parent(s):
2cbd325
docker step3
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
FROM python:3.10
|
3 |
|
4 |
# Set environment variables
|
|
|
5 |
ENV PYTHONDONTWRITEBYTECODE 1
|
6 |
ENV PYTHONUNBUFFERED 1
|
7 |
|
@@ -15,9 +16,6 @@ RUN apt-get update && apt-get install -y ffmpeg libsm6 libxext6 libxrender-dev l
|
|
15 |
# Copy the requirements file to the working directory
|
16 |
COPY requirements.txt .
|
17 |
|
18 |
-
# Upgrade Numba and pymatting
|
19 |
-
RUN pip install --no-cache-dir --upgrade numba pymatting
|
20 |
-
|
21 |
|
22 |
# Install project dependencies
|
23 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
2 |
FROM python:3.10
|
3 |
|
4 |
# Set environment variables
|
5 |
+
ENV NUMBA_DISABLE_JIT=1
|
6 |
ENV PYTHONDONTWRITEBYTECODE 1
|
7 |
ENV PYTHONUNBUFFERED 1
|
8 |
|
|
|
16 |
# Copy the requirements file to the working directory
|
17 |
COPY requirements.txt .
|
18 |
|
|
|
|
|
|
|
19 |
|
20 |
# Install project dependencies
|
21 |
RUN pip install --no-cache-dir -r requirements.txt
|