Spaces:
Runtime error
Runtime error
ChandimaPrabath
commited on
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -50,8 +50,7 @@ RUN mkdir $HOME/.cache $HOME/.config \
|
|
50 |
|
51 |
# Clone the jellyfin-uploader repository and install its requirements
|
52 |
USER root
|
53 |
-
RUN
|
54 |
-
pip3 install --no-cache-dir -r /tmp/requirements/requirements.txt
|
55 |
|
56 |
# Copy the current directory contents into the container at /tmp/app, setting the owner to the user
|
57 |
COPY --chown=user . /tmp/app
|
@@ -67,4 +66,4 @@ EXPOSE 7860
|
|
67 |
|
68 |
# Start Jellyfin and the Flask server
|
69 |
USER user
|
70 |
-
CMD ["sh", "-c", "jellyfin -d /home/user/app/jellyfin --webdir /usr/share/jellyfin/web & cd /tmp/app &&
|
|
|
50 |
|
51 |
# Clone the jellyfin-uploader repository and install its requirements
|
52 |
USER root
|
53 |
+
RUN pip3 install --no-cache-dir gradio
|
|
|
54 |
|
55 |
# Copy the current directory contents into the container at /tmp/app, setting the owner to the user
|
56 |
COPY --chown=user . /tmp/app
|
|
|
66 |
|
67 |
# Start Jellyfin and the Flask server
|
68 |
USER user
|
69 |
+
CMD ["sh", "-c", "jellyfin -d /home/user/app/jellyfin --webdir /usr/share/jellyfin/web & cd /tmp/app && python3 app.py"]
|