Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +5 -6
Dockerfile
CHANGED
|
@@ -2,18 +2,17 @@ FROM python:3.12-slim
|
|
| 2 |
|
| 3 |
# WORKDIR /app
|
| 4 |
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
# RUN apt-get update && \
|
| 9 |
-
# apt-get install -y git && \
|
| 10 |
-
# apt-get clean && rm -rf /var/lib/apt/lists/*
|
| 11 |
|
| 12 |
# RUN git config --global url.https://${GITHUB_TOKEN}@github.com/.insteadOf https://github.com/
|
| 13 |
|
| 14 |
RUN git clone https://github.com/SteveCelticus/httpsstream.git
|
| 15 |
|
| 16 |
# Copy the current directory contents into the container at /app
|
|
|
|
|
|
|
| 17 |
|
| 18 |
# Install any needed packages specified in requirements.txt
|
| 19 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 2 |
|
| 3 |
# WORKDIR /app
|
| 4 |
|
| 5 |
+
RUN apt-get update && \
|
| 6 |
+
apt-get install -y git && \
|
| 7 |
+
apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
# RUN git config --global url.https://${GITHUB_TOKEN}@github.com/.insteadOf https://github.com/
|
| 10 |
|
| 11 |
RUN git clone https://github.com/SteveCelticus/httpsstream.git
|
| 12 |
|
| 13 |
# Copy the current directory contents into the container at /app
|
| 14 |
+
# (including run.py, filmpertutti.py, and requirements.txt)
|
| 15 |
+
ADD . /app
|
| 16 |
|
| 17 |
# Install any needed packages specified in requirements.txt
|
| 18 |
RUN pip install --no-cache-dir -r requirements.txt
|