Spaces:
Paused
Paused
Create Dockerfile
Browse files- Dockerfile +14 -0
Dockerfile
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Use the official Python image from the Docker Hub
|
| 2 |
+
FROM python:3.10-slim
|
| 3 |
+
|
| 4 |
+
# Set the working directory inside the container
|
| 5 |
+
WORKDIR /app
|
| 6 |
+
|
| 7 |
+
# Install the mediaflow-proxy package
|
| 8 |
+
RUN pip install mediaflow-proxy
|
| 9 |
+
|
| 10 |
+
# Expose the port that the MediaFlow Proxy server will run on
|
| 11 |
+
EXPOSE 8888
|
| 12 |
+
|
| 13 |
+
# Use the CMD instruction to run the MediaFlow Proxy server
|
| 14 |
+
CMD ["mediaflow-proxy"]
|