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