remove node user/group from builder

This commit is contained in:
acalcutt 2022-10-02 15:51:15 -04:00
parent b13acfa02d
commit 658147c93d

View file

@ -4,8 +4,6 @@ ENV NODE_ENV="production"
RUN set -ex; \ RUN set -ex; \
export DEBIAN_FRONTEND=noninteractive; \ export DEBIAN_FRONTEND=noninteractive; \
groupadd -r node; \
useradd -r -g node node; \
apt-get -qq update; \ apt-get -qq update; \
apt-get -y --no-install-recommends install \ apt-get -y --no-install-recommends install \
build-essential \ build-essential \