From 524e553900deeeafdea0062ca6bc85e96201aa06 Mon Sep 17 00:00:00 2001 From: xfnw Date: Tue, 25 May 2021 13:24:45 -0400 Subject: [PATCH] rename some stuff --- Dockerfile | 4 +++- etc/supervisord.conf | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3e6bd5a..29cd9c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,8 @@ RUN apk add x11vnc xvfb supervisor firefox \ && rm -rf /apk /tmp/* /var/cache/apk/* ADD etc /etc WORKDIR /home/bnuuy -EXPOSE 5900 5901 +ADD mozilla .mozilla/ +RUN chown -R bnuuy:bnuuy .mozilla/ +EXPOSE 5900 USER bnuuy CMD ["/usr/bin/supervisord","-c","/etc/supervisord.conf"] diff --git a/etc/supervisord.conf b/etc/supervisord.conf index e800aee..ded2548 100644 --- a/etc/supervisord.conf +++ b/etc/supervisord.conf @@ -13,7 +13,7 @@ user=bnuuy autorestart=true priority=200 -[program:openbox] +[program:firefox] environment=HOME="/home/bnuuy",DISPLAY=":1",USER="bnuuy" command=/usr/bin/firefox -width 1366 -height 768 user=bnuuy