Skip to content

Commit

Permalink
Update Dockerfile.konflux
Browse files Browse the repository at this point in the history
Signed-off-by: Mohammadi Iram <[email protected]>
  • Loading branch information
MohammadiIram authored Dec 11, 2024
1 parent e130665 commit 9ad0bb4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile.konflux
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,15 @@ WORKDIR /opt/kserve/mmesh

RUN microdnf install shadow-utils

RUN echo "${VERSION}"

RUN useradd -c "Application User" -U -u ${USERID} -m app && \
chown -R app:0 /home/app && \
chmod g+w /etc/passwd && \
ln -s /opt/kserve/mmesh /opt/kserve/tas && \
mkdir -p log && \
chown -R app:0 . && \
chmod -R 771 . && chmod 775 *.sh *.py && \
echo "${VERSION}" \
echo "${VERSION}" > /opt/kserve/mmesh/build-version

EXPOSE 8080
Expand Down

0 comments on commit 9ad0bb4

Please sign in to comment.