From 7380d9a8a90db54bc6e396c07423b8a2eb4544d5 Mon Sep 17 00:00:00 2001 From: William Valentin Date: Wed, 30 Jul 2025 11:21:44 -0700 Subject: [PATCH] feat: Add logging directory and initialize app log file in Dockerfile --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 4ed0ee9..45a578f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -53,6 +53,11 @@ RUN sh -c "pyinstaller --name ${TARGET} --optimize 2 --onefile --windowed --hidd RUN chown -R ${UID}:${GUID} /home/docker_user/ RUN chmod -R 777 /home/docker_user/${TARGET} +RUN mkdir -p /app/logs && \ + touch /app/logs/app.log && \ + chown -R ${UID}:${GUID} /app/logs && \ + chmod 666 /app/logs/app.log + # Set environment variables for X11 forwarding ENV DISPLAY=:0 ENV XAUTHORITY=/tmp/.docker.xauth