Update Dockerfile
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
|
@@ -3,9 +3,13 @@ FROM python:3.8-slim
|
|
| 3 |
# Set working directory inside the container
|
| 4 |
WORKDIR /app
|
| 5 |
|
|
|
|
|
|
|
|
|
|
| 6 |
# Install necessary dependencies (The stable combination)
|
| 7 |
RUN pip install tensorflow==2.13.1 mediapipe==0.10.11 opencv-python scikit-learn numpy
|
| 8 |
-
|
|
|
|
| 9 |
COPY upload_files.zip .
|
| 10 |
|
| 11 |
# Unzip the project files
|
|
|
|
| 3 |
# Set working directory inside the container
|
| 4 |
WORKDIR /app
|
| 5 |
|
| 6 |
+
# NEW LINE: Install the unzip utility package
|
| 7 |
+
RUN apt-get update && apt-get install -y unzip
|
| 8 |
+
|
| 9 |
# Install necessary dependencies (The stable combination)
|
| 10 |
RUN pip install tensorflow==2.13.1 mediapipe==0.10.11 opencv-python scikit-learn numpy
|
| 11 |
+
|
| 12 |
+
# Copy the zipped project file
|
| 13 |
COPY upload_files.zip .
|
| 14 |
|
| 15 |
# Unzip the project files
|