Update Dockerfile
Browse files- 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
|
| 34 |
-
WORKDIR /opt/Jackett
|
| 35 |
|
| 36 |
-
# List the contents of the
|
| 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; \
|