Spaces:
Sleeping
Sleeping
Commit
·
0041037
1
Parent(s):
daf3baa
service
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
@@ -26,4 +26,5 @@ RUN ls -la
|
|
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"]
|
|
|
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
|
30 |
CMD [ "bash","-c" , "id; whoami; ls -la database; sudo service mariadb start; php artisan serve --host=0.0.0.0 --port=7860"]
|