changed dockerfile and requirements.txt
This commit is contained in:
+4
-2
@@ -6,11 +6,13 @@ RUN apt-get update && apt-get install -y \
|
||||
bash \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY . .
|
||||
RUN pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
|
||||
|
||||
COPY requirements.txt .
|
||||
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
RUN pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
|
||||
Copy . .
|
||||
|
||||
RUN chmod +x start_server.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user