Mythus commited on
Commit
c7aae32
·
verified ·
1 Parent(s): 067b9af

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -6
Dockerfile CHANGED
@@ -30,15 +30,15 @@ RUN release=$(wget -q https://github.com/Jackett/Jackett/releases/latest -O - |
30
  # Switch to root to install Jackett as a systemd service
31
  USER root
32
 
33
- # Verify that the script exists and set the correct working directory
34
- WORKDIR /opt/Jackett
35
 
36
- # List the contents of the Jackett directory to verify script presence
37
- RUN ls -l /opt/Jackett
38
 
39
  # Run the service installation script explicitly if it's found
40
- RUN if [ -f /opt/Jackett/install_service_systemd.sh ]; then \
41
- /opt/Jackett/install_service_systemd.sh; \
42
  else \
43
  echo "Error: install_service_systemd.sh not found!"; \
44
  exit 1; \
 
30
  # Switch to root to install Jackett as a systemd service
31
  USER root
32
 
33
+ # Verify that the script exists in the Jackett subdirectory
34
+ WORKDIR /opt/Jackett/Jackett
35
 
36
+ # List the contents of the directory to verify the script is there
37
+ RUN ls -l /opt/Jackett/Jackett
38
 
39
  # Run the service installation script explicitly if it's found
40
+ RUN if [ -f /opt/Jackett/Jackett/install_service_systemd.sh ]; then \
41
+ /opt/Jackett/Jackett/install_service_systemd.sh; \
42
  else \
43
  echo "Error: install_service_systemd.sh not found!"; \
44
  exit 1; \