Spaces:
Sleeping
Sleeping
Commit
·
440cf67
1
Parent(s):
7a73959
root
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -25,7 +25,7 @@ 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
|
29 |
-
USER 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"]
|
|
|
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"]
|