Skip to content

Commit

Permalink
Merge pull request #39 from CSCfi/shinny-app
Browse files Browse the repository at this point in the history
syntax for the chown command cahges to a colon
  • Loading branch information
DeRuina authored Mar 5, 2025
2 parents df30f44 + c0161c5 commit 2b7c5ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/rstudio/templates/buildconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
FROM nginx:alpine
# support running as arbitrary user which belogs to the root group
RUN chmod g+rwx /var/cache/nginx /var/run /var/log/nginx && \
chown nginx.root /var/cache/nginx /var/run /var/log/nginx && \
chown nginx:root /var/cache/nginx /var/run /var/log/nginx && \
# users are not allowed to listen on priviliged ports
sed -i.bak 's/listen\(.*\)80;/listen 8081;/' /etc/nginx/conf.d/default.conf && \
# Make /etc/nginx/html/ available to use
Expand All @@ -54,7 +54,7 @@ spec:
sed -i 's/worker_connections\s*1024/worker_connections 10240/' /etc/nginx/nginx.conf && \
apk add apache2-utils && \
mkdir /etc/nginx/secret/ && \
chown nginx.root /etc/nginx/secret/ && \
chown nginx:root /etc/nginx/secret/ && \
chmod g+w /etc/nginx/secret/
WORKDIR /usr/share/nginx/html/
EXPOSE 8081
Expand Down

0 comments on commit 2b7c5ef

Please sign in to comment.