Spaces:
Sleeping
Sleeping
Commit
·
aed5026
1
Parent(s):
3fd0e5a
user root
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
@@ -26,5 +26,6 @@ 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 |
RUN sudo service mariadb start; service --status-all
|
30 |
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"]
|
|
|
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
|
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"]
|