Spaces:
Sleeping
Sleeping
thanthamky
commited on
Commit
•
58df793
1
Parent(s):
984ceb6
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM nvidia/cuda:
|
2 |
|
3 |
ENV DEBIAN_FRONTEND=noninteractive \
|
4 |
TZ=Europe/Paris
|
@@ -30,6 +30,8 @@ RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
|
|
30 |
apt-get install -y nodejs && \
|
31 |
npm install -g configurable-http-proxy
|
32 |
|
|
|
|
|
33 |
# Create a working directory
|
34 |
WORKDIR /app
|
35 |
|
@@ -73,7 +75,7 @@ RUN --mount=target=/root/on_startup.sh,source=on_startup.sh,readwrite \
|
|
73 |
|
74 |
RUN mkdir /data && chown user:user /data
|
75 |
|
76 |
-
|
77 |
|
78 |
#######################################
|
79 |
# End root user section
|
|
|
1 |
+
FROM nvidia/cuda:12.3.2-base-ubuntu22.04
|
2 |
|
3 |
ENV DEBIAN_FRONTEND=noninteractive \
|
4 |
TZ=Europe/Paris
|
|
|
30 |
apt-get install -y nodejs && \
|
31 |
npm install -g configurable-http-proxy
|
32 |
|
33 |
+
RUN apt install -y tesseract-ocr
|
34 |
+
|
35 |
# Create a working directory
|
36 |
WORKDIR /app
|
37 |
|
|
|
75 |
|
76 |
RUN mkdir /data && chown user:user /data
|
77 |
|
78 |
+
|
79 |
|
80 |
#######################################
|
81 |
# End root user section
|