Skip to content

Commit

Permalink
add CMD and create user
Browse files Browse the repository at this point in the history
  • Loading branch information
jschlyter committed Nov 25, 2024
1 parent a465be1 commit 3616a8e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ FROM python:3.12
WORKDIR /tmp
COPY --from=builder /src/dist/*.whl .
RUN pip3 install *.whl && rm *.whl
RUN useradd -r -u 1000 -g root evrec
USER evrec
CMD ["--host", "0.0.0.0", "--port", "8080"]
ENTRYPOINT ["evrec_server"]

0 comments on commit 3616a8e

Please sign in to comment.