Skip to content

Commit

Permalink
removed permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
romer8 committed Oct 29, 2024
1 parent 736190b commit 9680ac0
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,7 @@ RUN cd ${TETHYS_HOME}/apps/ngiab && \
micromamba remove pyarrow && micromamba install --yes -c conda-forge pyarrow && \
micromamba clean --all --yes && \
npm install && npm run build && \
tethys install -d -N && \
export NGINX_USER=$(grep 'user .*;' /etc/nginx/nginx.conf | awk '{print $2}' | awk -F';' '{print $1}') && \
chown -R ${NGINX_USER}: ${TETHYS_PERSIST} && \
chown -R ${NGINX_USER}: ${STATIC_ROOT} && \
chown -R ${NGINX_USER}: ${WORKSPACE_ROOT} && \
chown -R ${NGINX_USER}: ${MEDIA_ROOT} && \
chown -R ${NGINX_USER}: ${TETHYS_HOME}/apps/ngiab && \
chown -R ${NGINX_USER}: ${TETHYS_HOME}
tethys install -d -N

#########
# PORTS #
Expand Down

0 comments on commit 9680ac0

Please sign in to comment.