Spaces:
Runtime error
Runtime error
RoniFinTech
commited on
Commit
•
e15aeab
1
Parent(s):
24debd6
gpu
Browse files- Dockerfile +5 -2
- requirements.txt +2 -2
Dockerfile
CHANGED
@@ -1,9 +1,12 @@
|
|
1 |
-
# Use
|
2 |
-
FROM
|
3 |
|
4 |
# Set the working directory to /code
|
5 |
WORKDIR /code
|
6 |
|
|
|
|
|
|
|
7 |
# Copy the current directory contents into the container at /code
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
9 |
|
|
|
1 |
+
# Use an official CUDA runtime as a parent image
|
2 |
+
FROM nvidia/cuda:12.2.0-runtime-ubuntu22.04
|
3 |
|
4 |
# Set the working directory to /code
|
5 |
WORKDIR /code
|
6 |
|
7 |
+
# Install Python
|
8 |
+
RUN apt-get update && apt-get install -y python3.10 python3-pip
|
9 |
+
|
10 |
# Copy the current directory contents into the container at /code
|
11 |
COPY ./requirements.txt /code/requirements.txt
|
12 |
|
requirements.txt
CHANGED
@@ -9,5 +9,5 @@ accelerate==0.21.0
|
|
9 |
diffusers==0.19.3
|
10 |
torchvision==0.15.2
|
11 |
safetensors==0.3.1
|
12 |
-
invisible-watermark==0.2.0
|
13 |
-
opencv-python-headless==4.8.0.74
|
|
|
9 |
diffusers==0.19.3
|
10 |
torchvision==0.15.2
|
11 |
safetensors==0.3.1
|
12 |
+
# invisible-watermark==0.2.0
|
13 |
+
# opencv-python-headless==4.8.0.74
|