Skip to content

Commit 4633b4c

Browse files
authored
Merge pull request #2 from madev/develop
Deleted windows new line characters
2 parents f2ac678 + 7b3161f commit 4633b4c

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

Dockerfile

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
FROM debian
2-
3-
# Install mysql-client and other dependencies
4-
RUN apt-get update && apt-get install -y default-mysql-client cron
5-
6-
# Create the backup directory
7-
RUN mkdir /backups
8-
9-
# Copy the backup script
10-
COPY backup.sh /backup.sh
11-
COPY startup.sh /startup.sh
12-
13-
# Set execute permissions for the scripts
14-
RUN chmod +x /backup.sh
15-
RUN chmod +x /startup.sh
16-
17-
# Set the default cron schedule pattern -> run every two hours
18-
ENV CRON_SCHEDULE_PATTERN="0 */2 * * *"
19-
20-
# Write logs to external database -> do not write by default
21-
ENV WRITE_LOGS=0
22-
23-
24-
# run the startup script
1+
FROM debian
2+
3+
# Install mysql-client and other dependencies
4+
RUN apt-get update && apt-get install -y default-mysql-client cron
5+
6+
# Create the backup directory
7+
RUN mkdir /backups
8+
9+
# Copy the backup script
10+
COPY backup.sh /backup.sh
11+
COPY startup.sh /startup.sh
12+
13+
# Set execute permissions for the scripts
14+
RUN chmod +x /backup.sh
15+
RUN chmod +x /startup.sh
16+
17+
# Set the default cron schedule pattern -> run every two hours
18+
ENV CRON_SCHEDULE_PATTERN="0 */2 * * *"
19+
20+
# Write logs to external database -> do not write by default
21+
ENV WRITE_LOGS=0
22+
23+
24+
# run the startup script
2525
ENTRYPOINT ["bash", "/startup.sh"]

0 commit comments

Comments
 (0)