Skip to content

Commit 5853da0

Browse files
Update Dockerfile to disable cache for pip
1 parent 1727321 commit 5853da0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ RUN mkdir -p /model
1313

1414
ADD . /server
1515
WORKDIR /server
16-
RUN pip3 install -r requirements-server.txt
16+
RUN pip3 install --no-cache-dir -r requirements-server.txt
1717

1818
EXPOSE 8000
1919

2020
ENTRYPOINT ["sh", "-c"]
21-
CMD ["python main.py --model /model/${MODEL_FILE_NAME} --host ${SERVER_HOST} --port ${SERVER_PORT} --label=${YOLO_LABEL_FILE} --c_thres ${YOLO_CONFIDENCE_THRESHOLD} --iou_thres ${YOLO_IOU_THRESHOLD}"]
21+
CMD ["python main.py --model /model/${MODEL_FILE_NAME} --host ${SERVER_HOST} --port ${SERVER_PORT} --label=${YOLO_LABEL_FILE} --c_thres ${YOLO_CONFIDENCE_THRESHOLD} --iou_thres ${YOLO_IOU_THRESHOLD}"]

0 commit comments

Comments
 (0)