Skip to content

Commit

Permalink
changing username for ingestion_server
Browse files Browse the repository at this point in the history
  • Loading branch information
tejaswarathe committed Dec 5, 2024
1 parent 93f24ba commit f1698b6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ingestion_server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,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 . /ingestion_server/
COPY --chown=ov_user . /ingestion_server/

# Exposes
# - 8001: Gunicorn server for `ingestion_server` Falcon app
Expand Down

0 comments on commit f1698b6

Please sign in to comment.