Update Dockerfile
Browse files25 unmodified lines2627282930313215 unmodified lines4849505152535425 unmodified lines# Set up a new user named "user" with user ID 1000RUN useradd -u 1001 userRUN chown -R user:user .#RUN useradd -ms /bin/bash user#RUN addgroup -g 1001 -S 100015 unmodified lines#RUN export MYSQLCLIENT_CFLAGS=`pkg-config mysqlclient --cflags`#RUN export MYSQLCLIENT_LDFLAGS=`pkg-config mysqlclient --libs`# Set the working directory to the user's home directoryWORKDIR $HOME/app#RUN chmod -R 755 $HOME/app# Copy the current directory contents into the container at $HOME/app setting the owner to the userCOPY --chown=user . $HOME/app25 unmodified lines2627282930313215 unmodified lines4849505152535425 unmodified lines# Set up a new user named "user" with user ID 1000RUN useradd -u 1001 user#RUN chown -R user:user .#RUN useradd -ms /bin/bash user#RUN addgroup -g 1001 -S 100015 unmodified lines#RUN export MYSQLCLIENT_CFLAGS=`pkg-config mysqlclient --cflags`#RUN export MYSQLCLIENT_LDFLAGS=`pkg-config mysqlclient --libs`# Set the working directory to the user's home directoryWORKDIR $HOME#RUN chmod -R 755 $HOME/app# Copy the current directory contents into the container at $HOME/app setting the owner to the userCOPY --chown=user . $HOME/app
Dockerfile+2-2