diff --git a/Dockerfile b/Dockerfile index 41c0188..d025511 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,9 +28,9 @@ RUN apt-get update && apt-get install -y \ RUN echo "root:rootpass" | chpasswd # Tworzenie nowego użytkownika 'user' z hasłem 'pass' i dodanie do grupy sudo -RUN useradd -m -s /bin/bash user && \ - echo "user:pass" | chpasswd && \ - usermod -aG sudo user +#RUN useradd -m -s /bin/bash user && \ +# echo "user:pass" | chpasswd && \ +# usermod -aG sudo user # Opcjonalnie: Ustawienie domyślnego użytkownika # USER user @@ -38,3 +38,4 @@ RUN useradd -m -s /bin/bash user && \ # Ustawienie domyślnego polecenia CMD ["/bin/bash"] + diff --git a/__vp b/__vp index 41e072b..fc04ace 100644 --- a/__vp +++ b/__vp @@ -1,6 +1,6 @@ f() { sudo docker run --rm -dit --privileged \ - -v "$(pwd)/app:/home/user/work" \ + -v "$(pwd)/../app:/home/user/work" \ -p 3333:3333 \ --name "$1" deb su - user; }; diff --git a/app b/app deleted file mode 160000 index db0752d..0000000 --- a/app +++ /dev/null @@ -1 +0,0 @@ -Subproject commit db0752d3e05f90f7fd8dda802b2366f3c6942b87