MarcSkovMadsen commited on
Commit
c86a870
·
verified ·
1 Parent(s): d97de27

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -4
Dockerfile CHANGED
@@ -2,12 +2,9 @@ FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim
2
 
3
  WORKDIR /code
4
 
5
- ENV XDG_CACHE_HOME=/tmp/.cache
6
- RUN mkdir -p /tmp/.cache
7
-
8
  COPY ./requirements.txt /code/requirements.txt
9
  RUN uv venv && . .venv/bin/activate && uv pip install -r /code/requirements.txt
10
 
11
  COPY . .
12
 
13
- CMD ["uv", "run", "panel", "serve", "/code/app.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*", "--num-procs", "2", "--index", "app"]
 
2
 
3
  WORKDIR /code
4
 
 
 
 
5
  COPY ./requirements.txt /code/requirements.txt
6
  RUN uv venv && . .venv/bin/activate && uv pip install -r /code/requirements.txt
7
 
8
  COPY . .
9
 
10
+ CMD [".venv/bin/panel", "serve", "/code/app.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*", "--num-procs", "2", "--index", "app"]