Skip to content

Commit 023df90

Browse files
authored
Fix Dockerfile
Signed-off-by: Akäsh Säiñi <[email protected]>
1 parent 2465380 commit 023df90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ COPY --from=builder /app/apps/documentation/nginx.conf /etc/nginx/conf.d/default
4242

4343
# support running as arbitrary user which belogs to the root group
4444
RUN chmod g+rwx /var/cache/nginx /var/run /var/log/nginx && \
45-
chown nginx.root /var/cache/nginx /var/run /var/log/nginx && \
45+
chown nginx:nginx /var/cache/nginx /var/run /var/log/nginx && \
4646
# comment user directive as master process is run as user in OpenShift anyhow
4747
sed -i.bak 's/^user/#user/' /etc/nginx/nginx.conf && \
4848
# Make /etc/nginx/html/ available to use

0 commit comments

Comments
 (0)