Skip to content

Commit

Permalink
changing username fro ingestion_worker
Browse files Browse the repository at this point in the history
  • Loading branch information
tejaswarathe committed Dec 5, 2024
1 parent 4d7ce55 commit 6855836
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
@@ -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

0 comments on commit 6855836

Please sign in to comment.