Create Dockerfile

This commit is contained in:
Loki authored and GitHub committed 2023-10-12 21:43:45 -07:00
1 parent d795d38a69
commit 3fff30486b
1 file changed
+14
+14
View File
@@ -0,0 +1,14 @@
FROM --platform=$TARGETOS/$TARGETARCH python:3.12-slim
LABEL author="Michael Parker" maintainer="[email protected]"
RUN apt update \
&& apt -y install git gcc g++ ca-certificates dnsutils curl iproute2 ffmpeg procps \
&& useradd -m -d /home/container container
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]