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 e3014e1 commit e285210
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 aggrec
USER aggrec
CMD ["--host", "0.0.0.0", "--port", "8080"]
ENTRYPOINT ["aggrec_server"]

0 comments on commit e285210

Please sign in to comment.