Spaces:
Building
Building
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -12,6 +12,9 @@ RUN apt-get update && \
|
|
12 |
fonts-noto \
|
13 |
git && \
|
14 |
rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
15 |
|
16 |
ENV PORT=7860
|
17 |
|
@@ -20,6 +23,7 @@ ENV PIPENV_VENV_IN_PROJECT=1
|
|
20 |
WORKDIR /app
|
21 |
|
22 |
COPY requirements.txt .
|
|
|
23 |
|
24 |
RUN pipenv install
|
25 |
# RUN pipenv install --dev --ignore-pipfile
|
|
|
12 |
fonts-noto \
|
13 |
git && \
|
14 |
rm -rf /var/lib/apt/lists/*
|
15 |
+
|
16 |
+
RUN apt-get update && \
|
17 |
+
apt-get install -y python3-pip-whl python3-setuptools-whl python3-wheel
|
18 |
|
19 |
ENV PORT=7860
|
20 |
|
|
|
23 |
WORKDIR /app
|
24 |
|
25 |
COPY requirements.txt .
|
26 |
+
RUN pipenv install pip==23.2.1
|
27 |
|
28 |
RUN pipenv install
|
29 |
# RUN pipenv install --dev --ignore-pipfile
|