Lbasara commited on
Commit
9b8218b
·
1 Parent(s): 1378423

Test Dockerfile pyvroom

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -8
Dockerfile CHANGED
@@ -5,19 +5,19 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
5
  libssl-dev libasio-dev \
6
  && rm -rf /var/lib/apt/lists/*
7
 
8
- RUN git clone --recurse-submodules https://github.com/VROOM-Project/pyvroom /code/pyvroom
9
 
10
  RUN pip install --upgrade pip uv
11
- RUN uv pip install --system -r /code/pyvroom/build-requirements.txt
12
- RUN uv pip install --system /code/pyvroom/
13
 
14
- WORKDIR /code
15
- COPY . /code
16
 
17
- COPY ./requirements.txt /code/requirements.txt
18
- RUN uv pip install -r /code/requirements.txt
19
 
20
 
21
 
22
- CMD ["panel", "serve", "/code/app.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*"]
23
 
 
5
  libssl-dev libasio-dev \
6
  && rm -rf /var/lib/apt/lists/*
7
 
8
+ RUN git clone --recurse-submodules https://github.com/VROOM-Project/pyvroom /app/pyvroom
9
 
10
  RUN pip install --upgrade pip uv
11
+ RUN uv pip install --system -r /app/pyvroom/build-requirements.txt
12
+ RUN uv pip install --system /app/pyvroom/
13
 
14
+ WORKDIR /app
15
+ COPY . /app
16
 
17
+ COPY ./requirements.txt /app/requirements.txt
18
+ RUN uv pip install -r /app/requirements.txt
19
 
20
 
21
 
22
+ CMD ["panel", "serve", "/app/app.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*"]
23