Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -3,11 +3,11 @@ FROM python:3.11-slim
|
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
COPY ./models/mobilenet_int8.tflite /app/models/mobilenet_int8.tflite
|
| 6 |
-
COPY ./
|
| 7 |
COPY ./class_names.txt /app/class_names.txt
|
| 8 |
|
| 9 |
RUN pip install --no-cache-dir streamlit ai-edge-litert pillow numpy
|
| 10 |
|
| 11 |
EXPOSE 7860
|
| 12 |
|
| 13 |
-
CMD ["streamlit", "run", "
|
|
|
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
COPY ./models/mobilenet_int8.tflite /app/models/mobilenet_int8.tflite
|
| 6 |
+
COPY ./streamlit_app.py /app/streamlit_app.py
|
| 7 |
COPY ./class_names.txt /app/class_names.txt
|
| 8 |
|
| 9 |
RUN pip install --no-cache-dir streamlit ai-edge-litert pillow numpy
|
| 10 |
|
| 11 |
EXPOSE 7860
|
| 12 |
|
| 13 |
+
CMD ["streamlit", "run", "streamlit_app.py", "--server.port=7860", "--server.address=0.0.0.0"]
|