Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -24,4 +24,5 @@ ENV AccToken=${ACC_TOKEN}
|
|
24 |
EXPOSE 7860
|
25 |
|
26 |
# Define the command to run the application
|
27 |
-
CMD ["python", "app.py"]
|
|
|
|
24 |
EXPOSE 7860
|
25 |
|
26 |
# Define the command to run the application
|
27 |
+
CMD ["python", "app.py"]
|
28 |
+
RUN docker run -p 7860:7860 --env ACC_TOKEN=your_huggingface_token --cpus="32" --memory="200g" --gpus '"device=0,1,2,3,4,5,6,7,8,9"' your-image-name
|