Skip to content

Commit

Permalink
Restructure cli dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
seallard committed Jan 31, 2024
1 parent 15a0b81 commit 160054b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile.cli
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ RUN addgroup --system nonroot \
&& adduser --system --ingroup nonroot nonroot

WORKDIR /app
COPY . /app/
COPY requirements.txt /app/
RUN pip install -r requirements.txt

COPY . /app/
RUN pip install .

USER nonroot
USER nonroot

0 comments on commit 160054b

Please sign in to comment.