tabito12345678910 commited on
Commit
061add3
·
1 Parent(s): 7afe39b

Fix Dockerfile: add git dependency and use pre-built rtdl wheel

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -1
  2. requirements.txt +1 -1
Dockerfile CHANGED
@@ -2,10 +2,11 @@ FROM python:3.11-slim
2
 
3
  WORKDIR /app
4
 
5
- # Install system dependencies
6
  RUN apt-get update && apt-get install -y \
7
  gcc \
8
  g++ \
 
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
  # Copy requirements first for better caching
 
2
 
3
  WORKDIR /app
4
 
5
+ # Install system dependencies including git for rtdl installation
6
  RUN apt-get update && apt-get install -y \
7
  gcc \
8
  g++ \
9
+ git \
10
  && rm -rf /var/lib/apt/lists/*
11
 
12
  # Copy requirements first for better caching
requirements.txt CHANGED
@@ -2,7 +2,7 @@ fastapi==0.104.1
2
  uvicorn[standard]==0.24.0
3
  pydantic==2.5.0
4
  torch==2.8.0
5
- git+https://github.com/Yura52/rtdl.git@main
6
  pandas
7
  numpy
8
  scipy
 
2
  uvicorn[standard]==0.24.0
3
  pydantic==2.5.0
4
  torch==2.8.0
5
+ rtdl
6
  pandas
7
  numpy
8
  scipy