Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -5
Dockerfile
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
-
|
2 |
FROM python:3.10
|
3 |
|
4 |
-
# Install system
|
5 |
-
RUN apt-get update && apt-get install -y git-lfs
|
6 |
|
7 |
# Copy your app files
|
8 |
COPY . /app
|
@@ -11,8 +10,7 @@ WORKDIR /app
|
|
11 |
# Pull LFS files
|
12 |
RUN cd NAFNet && git lfs install && git lfs pull
|
13 |
|
14 |
-
# Install dependencies
|
15 |
RUN pip install -r requirements.txt
|
16 |
|
17 |
CMD ["python", "app.py"]
|
18 |
-
|
|
|
|
|
1 |
FROM python:3.10
|
2 |
|
3 |
+
# Install system libraries
|
4 |
+
RUN apt-get update && apt-get install -y libgl1 git-lfs
|
5 |
|
6 |
# Copy your app files
|
7 |
COPY . /app
|
|
|
10 |
# Pull LFS files
|
11 |
RUN cd NAFNet && git lfs install && git lfs pull
|
12 |
|
13 |
+
# Install Python dependencies
|
14 |
RUN pip install -r requirements.txt
|
15 |
|
16 |
CMD ["python", "app.py"]
|
|