Spaces:
Sleeping
Sleeping
added model.pt and requirements in Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -34,6 +34,12 @@ RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
|
|
34 |
apt-get install -y nodejs && \
|
35 |
npm install -g configurable-http-proxy
|
36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
# Create a working directory
|
38 |
WORKDIR /app
|
39 |
|
|
|
34 |
apt-get install -y nodejs && \
|
35 |
npm install -g configurable-http-proxy
|
36 |
|
37 |
+
RUN pip install --upgrade pip
|
38 |
+
RUN pip install fastapi uvicorn ultralytics cv2 numpy
|
39 |
+
|
40 |
+
COPY app.py /app/app.py
|
41 |
+
COPY model.pt /app/model.pt
|
42 |
+
|
43 |
# Create a working directory
|
44 |
WORKDIR /app
|
45 |
|