Skip to content

Commit

Permalink
fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Panaetius committed Apr 11, 2024
1 parent 2bcfab2 commit afd0dbd
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/platform-init/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
FROM python:3.12-alpine

FROM python:3.12-slim-bookworm
RUN apt-get update && apt-get install -y \
tini && \
rm -rf /var/lib/apt/lists/*
COPY requirements.txt platform-init.py /app/
WORKDIR /app
RUN pip install -r requirements.txt
RUN pip3 install -r requirements.txt
USER 1000:1000

ENTRYPOINT [ "tini", "-g", "--", "python" ]

0 comments on commit afd0dbd

Please sign in to comment.