ladogton2010 commited on
Commit
7099986
·
1 Parent(s): 655f13f
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -24,4 +24,6 @@ RUN ls -la
24
  # RUN chmod 760 -R /example-app/storage
25
  # RUN chmod 706 /example-app/database/database.sqlite
26
  RUN chown -R ubuntu:ubuntu /example-app
27
- CMD [ "bash","-c" , "id; whoami; ls -la database; php artisan serve --host=0.0.0.0 --port=7860"]
 
 
 
24
  # RUN chmod 760 -R /example-app/storage
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"]