Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +8 -2
Dockerfile
CHANGED
@@ -1,8 +1,14 @@
|
|
1 |
FROM python:3
|
2 |
WORKDIR /usr/src/app
|
3 |
COPY requirements.txt ./
|
4 |
-
RUN apt-get
|
5 |
-
RUN apt
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
RUN pip install -r requirements.txt
|
7 |
COPY . .
|
8 |
EXPOSE 7860
|
|
|
1 |
FROM python:3
|
2 |
WORKDIR /usr/src/app
|
3 |
COPY requirements.txt ./
|
4 |
+
RUN apt-get update
|
5 |
+
RUN apt install -y software-properties-common
|
6 |
+
RUN apt update
|
7 |
+
RUN add-apt-repository main
|
8 |
+
RUN add-apt-repository universe
|
9 |
+
RUN add-apt-repository restricted
|
10 |
+
RUN add-apt-repository multiverse
|
11 |
+
RUN apt-get install -y poppler-utils
|
12 |
RUN pip install -r requirements.txt
|
13 |
COPY . .
|
14 |
EXPOSE 7860
|