Files
yolks/bot/parkertron/Dockerfile
T
Kyle Speight 5a71b67076 update
2025-09-09 01:46:09 -07:00

21 lines
638 B
Docker

FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm
LABEL author="Kyle Speight" maintainer="kyle@kyle-hosting.xyz"
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update -y \
# general packages
&& apt install -y iproute2 ca-certificates \
# additional packages for tesseract and eng lang support
libtesseract-dev tesseract-ocr-eng \
# add container user to run application
&& 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"]