Skip to content

Commit ce403a0

Browse files
committed
Fixed copy user script
1 parent 5cf8bbd commit ce403a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ COPY scripts/check_and_run.sh /usr/local/bin/
6969
RUN chmod +x /usr/local/bin/check_and_run.sh
7070

7171
# Copy user check script if it exists (will be skipped if file doesn't exist)
72-
COPY scripts/check-script.sh /usr/local/scripts/ 2>/dev/null || echo "No check-script.sh found, skipping..."
73-
RUN chmod +x /usr/local/scripts/check-script.sh 2>/dev/null || echo "No check-script.sh to make executable"
72+
COPY scripts/check-script.sh /usr/local/scripts/ 2>/dev/null || true
73+
RUN chmod +x /usr/local/scripts/check-script.sh 2>/dev/null || true
7474

7575
# Add healthcheck
7676
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 CMD ["sh", "-c", "/healthcheck.sh"]

0 commit comments

Comments
 (0)