Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammadll authored Oct 26, 2024
1 parent 9704ece commit c45dd3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM python:3.11-alpine

RUN apk add --no-cache shadow

RUN useradd -ms /bin/bash admin
RUN seradd -ms /bin/bash admin

WORKDIR /code

Expand All @@ -18,4 +18,4 @@ COPY ./app /code/app

RUN chown -R admin /code/app/*

USER admin
USER admin

0 comments on commit c45dd3a

Please sign in to comment.