osanseviero commited on
Commit
2bb7fc6
1 Parent(s): c23e88c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -38,7 +38,7 @@ RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
38
  WORKDIR /app
39
 
40
  # Create a non-root user and switch to it
41
- #RUN adduser --disabled-password --gecos '' --shell /bin/bash user \
42
  RUN adduser --uid 1000 --disabled-password --gecos '' --shell /bin/bash user \
43
  && chown -R user:user /app
44
  RUN echo "user ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/90-user
 
38
  WORKDIR /app
39
 
40
  # Create a non-root user and switch to it
41
+ RUN adduser --disabled-password --gecos '' --shell /bin/bash user \
42
  RUN adduser --uid 1000 --disabled-password --gecos '' --shell /bin/bash user \
43
  && chown -R user:user /app
44
  RUN echo "user ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/90-user