Spaces:
Sleeping
Sleeping
赵福来 commited on
Commit ·
d7ef03d
1
Parent(s): b2400d6
Update dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -9,10 +9,11 @@ RUN apt-get update && apt-get install -y \
|
|
| 9 |
&& rm -rf /var/lib/apt/lists/*
|
| 10 |
|
| 11 |
COPY requirements.txt ./
|
| 12 |
-
COPY ./ ./app/
|
| 13 |
|
| 14 |
RUN pip3 install -r requirements.txt
|
| 15 |
|
|
|
|
|
|
|
| 16 |
EXPOSE 8501
|
| 17 |
|
| 18 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
|
|
|
| 9 |
&& rm -rf /var/lib/apt/lists/*
|
| 10 |
|
| 11 |
COPY requirements.txt ./
|
|
|
|
| 12 |
|
| 13 |
RUN pip3 install -r requirements.txt
|
| 14 |
|
| 15 |
+
COPY . .
|
| 16 |
+
|
| 17 |
EXPOSE 8501
|
| 18 |
|
| 19 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|