Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +5 -3
Dockerfile
CHANGED
|
@@ -2,17 +2,19 @@ FROM python:3.12-slim
|
|
| 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 |
-
|
| 15 |
-
ADD . /app
|
| 16 |
# Install any needed packages specified in requirements.txt
|
| 17 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 18 |
#EXPOSE the port, for now default is 8080 cause it's the only one really allowed by HuggingFace
|
|
|
|
| 2 |
|
| 3 |
# WORKDIR /app
|
| 4 |
|
| 5 |
+
# (including run.py, filmpertutti.py, and requirements.txt)
|
| 6 |
+
ADD . /app
|
| 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
|
| 20 |
#EXPOSE the port, for now default is 8080 cause it's the only one really allowed by HuggingFace
|