Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +7 -2
Dockerfile
CHANGED
|
@@ -11,13 +11,18 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 11 |
WORKDIR /app
|
| 12 |
|
| 13 |
COPY requirements.txt .
|
| 14 |
-
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
RUN pip install --upgrade pip
|
| 18 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 19 |
|
| 20 |
EXPOSE 7860
|
|
|
|
| 21 |
ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0
|
| 22 |
ENV STREAMLIT_SERVER_PORT=7860
|
| 23 |
ENV STREAMLIT_DISABLE_EMAIL_WARNING=true
|
|
|
|
| 11 |
WORKDIR /app
|
| 12 |
|
| 13 |
COPY requirements.txt .
|
| 14 |
+
|
| 15 |
+
# streamlit_app.py src klasöründe olduğundan:
|
| 16 |
+
COPY src/streamlit_app.py ./streamlit_app.py
|
| 17 |
+
|
| 18 |
+
# kitchen1.keras da src içinde
|
| 19 |
+
COPY src/kitchen1.keras ./src/kitchen1.keras
|
| 20 |
|
| 21 |
RUN pip install --upgrade pip
|
| 22 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 23 |
|
| 24 |
EXPOSE 7860
|
| 25 |
+
|
| 26 |
ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0
|
| 27 |
ENV STREAMLIT_SERVER_PORT=7860
|
| 28 |
ENV STREAMLIT_DISABLE_EMAIL_WARNING=true
|