Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
|
@@ -13,5 +13,11 @@ RUN pip install --no-cache-dir opencv-python requests
|
|
| 13 |
# Expose any required ports (if necessary, not for this app specifically)
|
| 14 |
# EXPOSE 8080
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
# Command to run the application
|
| 17 |
CMD ["python", "app.py"]
|
|
|
|
| 13 |
# Expose any required ports (if necessary, not for this app specifically)
|
| 14 |
# EXPOSE 8080
|
| 15 |
|
| 16 |
+
|
| 17 |
+
# Copy the requirements file
|
| 18 |
+
COPY requirements.txt /app/requirements.txt
|
| 19 |
+
|
| 20 |
+
# Install the dependencies
|
| 21 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 22 |
# Command to run the application
|
| 23 |
CMD ["python", "app.py"]
|