Skip to content

Commit

Permalink
Use Python 3.11 and log as JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
jschlyter committed Jan 15, 2025
1 parent 1bd3e1d commit 403c8a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FROM python:3.12 AS builder
FROM python:3.13 AS builder
RUN pip3 install poetry
WORKDIR /src
ADD . /src
RUN poetry build

FROM python:3.12
FROM python:3.13
WORKDIR /tmp
COPY --from=builder /src/dist/*.whl .
RUN pip3 install *.whl && rm *.whl
RUN useradd -u 1000 -m -s /sbin/nologin nodeman
USER nodeman
ENTRYPOINT ["nodeman_server"]
CMD ["--host", "0.0.0.0", "--port", "8080"]
CMD ["--host", "0.0.0.0", "--port", "8080", "--log-json"]

0 comments on commit 403c8a2

Please sign in to comment.