All checks were successful
Build and Push Docker Images / build-and-push (push) Successful in 1m13s
16 lines
376 B
Plaintext
16 lines
376 B
Plaintext
FROM python:3.12-slim-bookworm AS base
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
ca-certificates \
|
|
curl \
|
|
tini \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN groupadd --gid 1000 appuser \
|
|
&& useradd --uid 1000 --gid appuser --shell /bin/bash --create-home appuser
|
|
|
|
WORKDIR /home/appuser
|
|
USER appuser
|
|
|
|
ENTRYPOINT ["tini", "--"]
|