Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -18,6 +18,7 @@ COPY live_streaming_flask.py live_streaming_flask.py
|
|
| 18 |
COPY templates/ /app/templates
|
| 19 |
COPY .env .env
|
| 20 |
COPY test_streaming.py test_streaming.py
|
|
|
|
| 21 |
|
| 22 |
# Install system dependencies
|
| 23 |
RUN apt-get update && apt-get install -y \
|
|
@@ -50,6 +51,8 @@ RUN mkdir -p /app/cache /app/data && chmod -R 777 /app/cache /app/data
|
|
| 50 |
RUN mkdir -p /app/OUTPUTS
|
| 51 |
RUN chmod -R 777 /app
|
| 52 |
|
|
|
|
|
|
|
| 53 |
# Expose the required port for HF Spaces
|
| 54 |
EXPOSE 7860
|
| 55 |
|
|
|
|
| 18 |
COPY templates/ /app/templates
|
| 19 |
COPY .env .env
|
| 20 |
COPY test_streaming.py test_streaming.py
|
| 21 |
+
COPY app_main.py app_main.py
|
| 22 |
|
| 23 |
# Install system dependencies
|
| 24 |
RUN apt-get update && apt-get install -y \
|
|
|
|
| 51 |
RUN mkdir -p /app/OUTPUTS
|
| 52 |
RUN chmod -R 777 /app
|
| 53 |
|
| 54 |
+
RUN mkdir -p outputs/DETECTED_IMAGE outputs/SCANNED_IMAGE outputs/EXTRACTED_JSON
|
| 55 |
+
|
| 56 |
# Expose the required port for HF Spaces
|
| 57 |
EXPOSE 7860
|
| 58 |
|