Update Dockerfile
Browse files- Dockerfile +18 -1
Dockerfile
CHANGED
|
@@ -1 +1,18 @@
|
|
| 1 |
-
FROM tensorflow/tensorflow:2.6.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM tensorflow/tensorflow:2.6.0
|
| 2 |
+
USER root
|
| 3 |
+
|
| 4 |
+
RUN mkdir -p /root/opyalpr
|
| 5 |
+
WORKDIR /root/opyalpr
|
| 6 |
+
COPY ./opyalpr.py .
|
| 7 |
+
COPY ./app.py .
|
| 8 |
+
COPY ./demo.py .
|
| 9 |
+
COPY ./license.txt .
|
| 10 |
+
COPY ./requirements.txt .
|
| 11 |
+
COPY ./run.sh .
|
| 12 |
+
COPY ./arial.ttf .
|
| 13 |
+
COPY ./examples ./examples
|
| 14 |
+
COPY ./model ./model
|
| 15 |
+
COPY ./lib .
|
| 16 |
+
RUN pip3 install -r requirements.txt
|
| 17 |
+
CMD ["./run.sh"]
|
| 18 |
+
EXPOSE 9000 7860
|