Skip to content

Commit

Permalink
change ownership of files
Browse files Browse the repository at this point in the history
  • Loading branch information
nspmx committed Oct 31, 2023
1 parent 5885bd2 commit 2dfc412
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ RUN useradd -m -r tesseract &&\
pip install --no-cache-dir -r requirements.txt

# transfer app files
COPY . .
COPY --chown=tesseract:tesseract . .
RUN chown -R tesseract $APP_HOME

# define git hash
ARG GIT_HASH
ENV GIT_HASH=${GIT_HASH:-dev}


# change user to tesseract user
USER tesseract

Expand Down

0 comments on commit 2dfc412

Please sign in to comment.