Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +8 -0
Dockerfile
CHANGED
@@ -1,4 +1,12 @@
|
|
1 |
FROM tensorflow/tensorflow:2.12.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
WORKDIR /data/app
|
3 |
COPY requirements.txt ./
|
4 |
RUN pip install -r requirements.txt
|
|
|
1 |
FROM tensorflow/tensorflow:2.12.0
|
2 |
+
# Install Dependencies
|
3 |
+
RUN apt-get update -q \
|
4 |
+
&& apt-get install -qy --no-install-recommends wget git libopencv-dev python3-opencv \
|
5 |
+
&& apt-get autoremove -y \
|
6 |
+
&& apt-get clean \
|
7 |
+
&& rm -rf /var/lib/apt/lists/*
|
8 |
+
|
9 |
+
|
10 |
WORKDIR /data/app
|
11 |
COPY requirements.txt ./
|
12 |
RUN pip install -r requirements.txt
|