Skip to content

Commit

Permalink
Merge branch 'main' of github.com:megalis-bretagne/lufi-docker
Browse files Browse the repository at this point in the history
  • Loading branch information
syji35 committed Sep 18, 2024
2 parents a6aa36b + 421cfe7 commit 726bb80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ RUN wget https://framagit.org/fiat-tux/hat-softwares/lufi/-/archive/${LUFI_VERSI
&& rm -rf /home/nonroot/lufi/lufi-${LUFI_VERSION}.zip


COPY --chown=nonroot:nonroot lufi.conf /
COPY --chown=nonroot:nonroot lufi.conf .
RUN mkdir -p themes/megalis/
COPY themes/megalis themes/megalis/
COPY --chmod=760 --chown=nonroot:nonroot docker-entrypoint.sh /home/nonroot/lufi/docker-entrypoint.sh
Expand All @@ -55,4 +55,4 @@ USER nonroot

RUN mkdir /home/nonroot/lufi/files

ENTRYPOINT ["/home/nonroot/lufi/docker-entrypoint.sh"]
ENTRYPOINT ["/home/nonroot/lufi/docker-entrypoint.sh"]
2 changes: 1 addition & 1 deletion lufi-cron
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
0 4 * * * echo "$(date) Launch cron cleanfiles" >> /home/nonroot/lufi/log/production.log 2>&1
0 4 * * * cd /home/nonroot/lufi && /usr/local/bin/carton exec /home/nonroot/lufi/script/lufi cron cleanfiles >> /home/nonroot/log/production.log 2>&1
0 4 * * * cd /home/nonroot/lufi && /usr/local/bin/carton exec /home/nonroot/lufi/script/lufi cron cleanfiles >> /home/nonroot/lufi/log/production.log 2>&1
0 2 * * * echo "$(date) Launch cron cleanbdd" >> /home/nonroot/lufi/log/production.log 2>&1
0 2 * * * cd /home/nonroot/lufi && /usr/local/bin/carton exec /home/nonroot/lufi/script/lufi cron cleanbdd >> /home/nonroot/lufi/log/production.log 2>&1

0 comments on commit 726bb80

Please sign in to comment.