ladogton2010 commited on
Commit
26bd4d1
·
1 Parent(s): 440cf67
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM debian:latest
2
 
3
  RUN apt update -y
4
  RUN apt upgrade -y
@@ -23,9 +23,9 @@ RUN ls -la
23
  RUN chmod 706 -R /example-app/bootstrap/cache
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
- #RUN usermod -aG sudo ubuntu
29
  USER root:root
30
  RUN sudo service mariadb start; service --status-all
31
  CMD [ "bash","-c" , "id; whoami; ls -la database; service mariadb start; php artisan serve --host=0.0.0.0 --port=7860 > /dev/null 2>&1"]
 
1
+ FROM ubuntu:latest
2
 
3
  RUN apt update -y
4
  RUN apt upgrade -y
 
23
  RUN chmod 706 -R /example-app/bootstrap/cache
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
+ RUN usermod -aG sudo ubuntu
29
  USER root:root
30
  RUN sudo service mariadb start; service --status-all
31
  CMD [ "bash","-c" , "id; whoami; ls -la database; service mariadb start; php artisan serve --host=0.0.0.0 --port=7860 > /dev/null 2>&1"]