Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -6
Dockerfile
CHANGED
|
@@ -1,15 +1,10 @@
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
|
| 3 |
-
RUN apt-get update && apt-get install -y \
|
| 4 |
-
build-essential \
|
| 5 |
-
&& rm -rf /var/lib/apt/lists/*
|
| 6 |
-
|
| 7 |
WORKDIR /app
|
| 8 |
|
| 9 |
COPY requirements.txt .
|
| 10 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 11 |
|
| 12 |
COPY src/ /app/src/
|
| 13 |
-
COPY streamlit_app.py /app/
|
| 14 |
|
| 15 |
-
CMD
|
|
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
COPY requirements.txt .
|
| 6 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 7 |
|
| 8 |
COPY src/ /app/src/
|
|
|
|
| 9 |
|
| 10 |
+
CMD streamlit run src/streamlit_app.py
|