Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -4
Dockerfile
CHANGED
|
@@ -5,7 +5,6 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
|
|
| 5 |
PIP_DISABLE_PIP_VERSION_CHECK=on \
|
| 6 |
PIP_NO_CACHE_DIR=on
|
| 7 |
|
| 8 |
-
# BLAS/LAPACK(pandas/numpy用)。Prophetを後で入れるならこれでOK
|
| 9 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 10 |
build-essential \
|
| 11 |
libopenblas-dev \
|
|
@@ -15,13 +14,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 15 |
&& rm -rf /var/lib/apt/lists/*
|
| 16 |
|
| 17 |
WORKDIR /workspace
|
| 18 |
-
|
| 19 |
COPY requirements.txt ./requirements.txt
|
| 20 |
RUN pip install --upgrade pip \
|
| 21 |
&& pip install --no-cache-dir -r requirements.txt \
|
| 22 |
-
&& python -c "import gradio;
|
| 23 |
|
| 24 |
COPY . .
|
| 25 |
-
|
| 26 |
EXPOSE 7860
|
| 27 |
CMD ["python", "app.py"]
|
|
|
|
| 5 |
PIP_DISABLE_PIP_VERSION_CHECK=on \
|
| 6 |
PIP_NO_CACHE_DIR=on
|
| 7 |
|
|
|
|
| 8 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 9 |
build-essential \
|
| 10 |
libopenblas-dev \
|
|
|
|
| 14 |
&& rm -rf /var/lib/apt/lists/*
|
| 15 |
|
| 16 |
WORKDIR /workspace
|
|
|
|
| 17 |
COPY requirements.txt ./requirements.txt
|
| 18 |
RUN pip install --upgrade pip \
|
| 19 |
&& pip install --no-cache-dir -r requirements.txt \
|
| 20 |
+
&& python -c "import gradio; print('gradio', gradio.__version__)"
|
| 21 |
|
| 22 |
COPY . .
|
|
|
|
| 23 |
EXPOSE 7860
|
| 24 |
CMD ["python", "app.py"]
|