Spaces:
Runtime error
Runtime error
Commit
·
64416ee
1
Parent(s):
2af3b90
first commit
Browse files- Dockerfile +20 -0
Dockerfile
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Use the official Python image as the base
|
| 2 |
+
FROM python:3.8-slim-buster
|
| 3 |
+
|
| 4 |
+
# Set the working directory in the container
|
| 5 |
+
WORKDIR /app
|
| 6 |
+
|
| 7 |
+
# Copy the requirements.txt file to the working directory
|
| 8 |
+
COPY requirements.txt .
|
| 9 |
+
|
| 10 |
+
# Install the Python dependencies
|
| 11 |
+
RUN pip install -r requirements.txt
|
| 12 |
+
|
| 13 |
+
# Copy the app code to the working directory
|
| 14 |
+
COPY . .
|
| 15 |
+
|
| 16 |
+
# Expose the port on which your Streamlit app is running (change if necessary)
|
| 17 |
+
EXPOSE 7860
|
| 18 |
+
|
| 19 |
+
# Set the command to run the Streamlit app
|
| 20 |
+
CMD ["streamlit", "run", "01_🎥_Input_YouTube_Link.py"]
|