diff --git a/docker/Dockerfile b/docker/Dockerfile index 1e90e40..4704b82 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -100,11 +100,13 @@ RUN dnf -y install dnf-plugins-core \ dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo \ dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin +# Install OliveTin and dependencies RUN mkdir -p /config /var/www/olivetin \ && dnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \ iputils \ openssh-clients \ shadow-utils \ + OliveTin && dnf clean all RUN useradd --system --create-home olivetin -u 1000 @@ -113,9 +115,6 @@ EXPOSE 1337/tcp VOLUME /config -COPY OliveTin /usr/bin/OliveTin -COPY webui /var/www/olivetin/ - USER olivetin ENTRYPOINT [ "/usr/bin/OliveTin" ]