bnuuy/Dockerfile

13 lines
380 B
Text
Raw Normal View History

2021-05-25 16:20:40 +00:00
FROM alpine:latest
RUN apk add xorg-server xf86-input-libinput eudev xspice supervisor font-noto firefox \
2021-05-25 16:20:40 +00:00
&& addgroup bnuuy \
&& adduser -G bnuuy -s /bin/sh -D bnuuy \
&& rm -rf /apk /tmp/* /var/cache/apk/*
ADD etc /etc
2021-05-25 16:20:40 +00:00
WORKDIR /home/bnuuy
2021-05-25 17:24:45 +00:00
ADD mozilla .mozilla/
RUN chown -R bnuuy:bnuuy .mozilla/
EXPOSE 5900
2021-05-25 16:20:40 +00:00
USER bnuuy
CMD ["/usr/bin/supervisord","-c","/etc/supervisord.conf"]