Skip to content

Commit

Permalink
clean-up group
Browse files Browse the repository at this point in the history
  • Loading branch information
habibimustafa authored Oct 10, 2023
1 parent f7a5ba4 commit cf70ebe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
FROM node:18-slim

ARG AGRSGROUP=1004

RUN apt-get update && apt-get install -y gosu

RUN groupadd --force -g $AGRSGROUP assistest
RUN useradd -ms /bin/bash --no-user-group -g $AGRSGROUP -u 1337 assistest
RUN useradd -ms /bin/bash assistest

RUN mkdir /home/assistest/app && chown -R assistest:assistest /home/assistest/app
RUN mkdir /home/assistest/student-app && chown -R assistest:assistest /home/assistest/student-app
Expand Down

0 comments on commit cf70ebe

Please sign in to comment.