Skip to content

Commit 93aaf14

Browse files
committed
adjusting dockerfile for ephimeral Openshift User
1 parent c0b8cfa commit 93aaf14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ COPY ./ /opt/project-x
1313

1414
RUN groupadd -r xman -g 1001 \
1515
&& useradd -u 1001 -r -g xman -d /opt/project-x/ -s /sbin/nologin -c "Docker image user" xman \
16-
&& chown -R xman:xman /opt/project-x/
16+
&& chown -R xman:xman /opt/project-x/ \
17+
&& chmod 0757 /opt/project-x/script/
1718

1819
USER 1001
1920
EXPOSE 8080

0 commit comments

Comments
 (0)