BarBar288 commited on
Commit
11fc91a
·
verified ·
1 Parent(s): a865252

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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