Skip to content

Commit

Permalink
fix: docker logs mount bad permissions (#1717)
Browse files Browse the repository at this point in the history
The problem is that the logs directory is mounted with the wrong permissions.
The solution is to delete the old logs and recreate the directory with the correct permissions.
  • Loading branch information
yaboiishere committed Mar 28, 2024
1 parent d98b960 commit af232e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Expand Up @@ -148,4 +148,8 @@ RUN useradd --uid 1000 --shell /bin/bash aeternity \
ARG USER=aeternity
USER ${USER}

# Clear old logs
RUN rm -rf /home/aeternity/node/ae_mdw/log
RUN mkdir -p /home/aeternity/node/ae_mdw/log

CMD ["/home/aeternity/node/bin/server"]

0 comments on commit af232e4

Please sign in to comment.