AndreySokolov01 commited on
Commit
00e4d5c
·
verified ·
1 Parent(s): a5332c2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -15
Dockerfile CHANGED
@@ -1,18 +1,3 @@
1
-
2
- FROM python:3.9
3
-
4
- RUN useradd -m -u 1000 user
5
-
6
- WORKDIR /app
7
-
8
- COPY --chown=user ./requirements.txt requirements.txt
9
-
10
- RUN pip install --no-cache-dir --upgrade -r requirements.txt
11
-
12
- COPY --chown=user . /app
13
-
14
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
15
-
16
  docker pull savatar101/omniparse:0.1
17
  # if you are running on a gpu
18
  docker run --gpus all -p 8000:8000 savatar101/omniparse:0.1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  docker pull savatar101/omniparse:0.1
2
  # if you are running on a gpu
3
  docker run --gpus all -p 8000:8000 savatar101/omniparse:0.1