Files
yolks/python/3.7/Dockerfile
Poseidon c80ad9aa0a Update Dockerfile (#234)
* Update Dockerfile

There was a mistake made here. This is the 3.12 dockerfile but you are using python 3.7. This should fix that

* also fix 3.7

---------

Co-authored-by: Quinten <67589015+QuintenQVD0@users.noreply.github.com>
2024-04-04 11:57:50 +02:00

19 lines
629 B
Docker

FROM --platform=$TARGETOS/$TARGETARCH python:3.7-slim-bookworm
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
RUN apt update \
&& apt -y install git gcc g++ ca-certificates dnsutils curl iproute2 ffmpeg procps tini \
&& useradd -m -d /home/container container
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
STOPSIGNAL SIGINT
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]