diff --git a/Dockerfile b/Dockerfile index f671ebe..8a51b9c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,13 +14,11 @@ RUN apt-get update \ RUN git clone --depth=1 https://github.com/ludios/qolibri \ && cd qolibri \ - && cmake . \ + && cmake -DCMAKE_BUILD_TYPE=Release . \ && make -j 4 FROM debian:testing-slim -RUN adduser --disabled-password --gecos "" qolibri - RUN apt-get update \ && apt-get -y install --no-install-recommends \ gosu \ @@ -32,4 +30,6 @@ RUN apt-get update \ COPY --from=builder /qolibri/qolibri /usr/local/bin/qolibri -ENTRYPOINT ["gosu", "qolibri", "qolibri"] +USER qolibri + +ENTRYPOINT ["qolibri"]