chomakov commited on
Commit
4d54be3
1 Parent(s): b01d663

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -5
Dockerfile CHANGED
@@ -1,14 +1,12 @@
1
  FROM python:3.9
2
 
3
- WORKDIR /code
4
-
5
- COPY ./requirements.txt /code/requirements.txt
6
  RUN python3 -m pip install --no-cache-dir --upgrade pip
7
- RUN python3 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
9
  COPY . .
10
 
11
- CMD ["panel", "serve", "code/GPT-4_PDF_summary.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "chomakov-gpt-4-pdf-summary.hf.space", "--allow-websocket-origin", "0.0.0.0:7860"]
12
 
13
  RUN mkdir /.cache
14
  RUN chmod 777 /.cache
 
1
  FROM python:3.9
2
 
3
+ COPY ./requirements.txt /requirements.txt
 
 
4
  RUN python3 -m pip install --no-cache-dir --upgrade pip
5
+ RUN python3 -m pip install --no-cache-dir --upgrade -r /requirements.txt
6
 
7
  COPY . .
8
 
9
+ CMD ["panel", "serve", "GPT-4_PDF_summary.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "chomakov-gpt-4-pdf-summary.hf.space", "--allow-websocket-origin", "0.0.0.0:7860"]
10
 
11
  RUN mkdir /.cache
12
  RUN chmod 777 /.cache