ChandimaPrabath commited on
Commit
033facc
·
verified ·
1 Parent(s): 6c3a19b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 git clone https://github.com/Osama-Yusuf/jellyfin-uploader.git /tmp/requirements && \
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 && flask run --host=0.0.0.0 --port=7860"]
 
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"]