Spaces:
Sleeping
Sleeping
Upload Dockerfile
Browse files- Dockerfile +16 -0
Dockerfile
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
8 |
+
WORKDIR /app
|
9 |
+
|
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"]
|