ladogton2010 commited on
Commit
daf3baa
·
1 Parent(s): 7099986
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -25,5 +25,5 @@ RUN ls -la
25
  # RUN chmod 706 /example-app/database/database.sqlite
26
  RUN chown -R ubuntu:ubuntu /example-app
27
  RUN apt install -y mariadb-server sudo
28
-
29
- CMD [ "bash","-c" , "id; whoami; ls -la database; service mariadb start; php artisan serve --host=0.0.0.0 --port=7860"]
 
25
  # RUN chmod 706 /example-app/database/database.sqlite
26
  RUN chown -R ubuntu:ubuntu /example-app
27
  RUN apt install -y mariadb-server sudo
28
+ RUN usermod -aG sudo ubuntu
29
+ CMD [ "bash","-c" , "id; whoami; ls -la database; sudo service mariadb start; php artisan serve --host=0.0.0.0 --port=7860"]