updated comments

This commit is contained in:
David Kennedy 2024-12-02 13:37:35 -05:00
parent 9cbd6d0223
commit ad998246ca
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
2 changed files with 2 additions and 1 deletions

View file

@ -1,7 +1,7 @@
FROM docker.io/cimg/node:current-browsers
WORKDIR /app
# Install gosu
# Install gosu to run command as a specific user, circleci. Clean up lists.
USER root
RUN apt-get update && \
apt-get install -y gosu && \

View file

@ -9,4 +9,5 @@ echo "Updating circleci user and group to match host UID:GID ($HOST_UID:$HOST_GI
sudo groupmod -g "$HOST_GID" circleci
sudo usermod -u "$HOST_UID" circleci
# Run command as circleci user. Note that command, run_node_watch.sh, is passed as arg to entrypoint
exec gosu circleci "$@"