MarcSkovMadsen commited on
Commit
7acae1b
1 Parent(s): 6dc2daa
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -2,10 +2,11 @@ FROM python:3.11
2
 
3
  WORKDIR /code
4
 
5
- COPY . .
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
  RUN python3 download_datasets.py
10
 
11
  CMD ["panel", "serve", "/code/app.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*", "--num-procs", "4", "--index", "app"]
 
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
  RUN python3 download_datasets.py
11
 
12
  CMD ["panel", "serve", "/code/app.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*", "--num-procs", "4", "--index", "app"]