Spaces:
Sleeping
Sleeping
Commit
·
7099986
1
Parent(s):
655f13f
database
Browse files- 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 |
-
|
|
|
|
|
|
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"]
|