Skip to content

Commit

Permalink
Add CLI image
Browse files Browse the repository at this point in the history
  • Loading branch information
seallard committed Apr 30, 2024
1 parent 272f98a commit 98bc362
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile-cli
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM docker.io/library/python:3.11-slim-bullseye

RUN addgroup --system nonroot \
&& adduser --system --ingroup nonroot nonroot

WORKDIR /app
COPY . /app/

RUN pip install --no-cache-dir .

USER nonroot

0 comments on commit 98bc362

Please sign in to comment.