Skip to content

Commit

Permalink
fix entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
dolevf committed Apr 23, 2024
1 parent 2eab7a4 commit e85c0c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lab/machines/c-backup-01/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ RUN chmod u+x /mnt/scripts/execute.sh
RUN echo '*/1 * * * * bash /mnt/scripts/execute.sh' >> /tmp/root-crontab
RUN crontab /tmp/root-crontab && rm /tmp/root-crontab
RUN mkdir -p /var/www/site
RUN service cron restart

ENTRYPOINT python3 -m http.server --directory /var/www/site 8080
ENTRYPOINT serice cron restart && python3 -m http.server --directory /var/www/site 8080

0 comments on commit e85c0c6

Please sign in to comment.