Skip to content

Commit

Permalink
change indexer worker username
Browse files Browse the repository at this point in the history
  • Loading branch information
tejaswarathe committed Dec 5, 2024
1 parent 86b9083 commit 91cff55
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions indexer_worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ RUN apt-get update \
&& mkdir /worker_state

# Create a non-root user
RUN useradd ingestionu \
&& chown ingestionu /worker_state
RUN useradd ov_user \
&& chown ov_user /worker_state

USER ingestionu
USER ov_user

# Copy code into the final image
COPY --chown=ingestionu . /indexer_worker/
COPY --chown=ov_user . /indexer_worker/

# Expose Gunicorn server to indexer worker Falcon app
EXPOSE 8003
Expand Down

0 comments on commit 91cff55

Please sign in to comment.