Skip to content

Commit

Permalink
Various improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
VKambulov committed Apr 4, 2024
1 parent 6908840 commit c7e34db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,6 @@ RUN useradd --groups sudo --create-home --shell /bin/bash $USER \
&& echo "${USER} ALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/${USER} \
&& chmod 0440 /etc/sudoers.d/${USER}

RUN rm -rf ${WORKDIR}/*

USER ${USER}
2 changes: 0 additions & 2 deletions build/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ cd $WORKDIR
sudo chown -R $USER:$USER /var/www/html
sudo chown -R $USER:$USER /home/$USER

sudo rm -rf $WORKDIR/*

if [ ! -z "$WWWUSER" ]; then
sudo usermod -u $WWWUSER $USER
fi
Expand Down

0 comments on commit c7e34db

Please sign in to comment.