diff --git a/Dockerfile b/Dockerfile index d518989..31777b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,4 +8,7 @@ FROM python:3.12 WORKDIR /tmp COPY --from=builder /src/dist/*.whl . RUN pip3 install *.whl && rm *.whl -ENTRYPOINT evrec_server +RUN useradd -u 1000 -m -s /sbin/nologin evrec +USER evrec +ENTRYPOINT ["evrec_server"] +CMD ["--host", "0.0.0.0", "--port", "8080"]