Spaces:
Sleeping
Sleeping
Commit
·
37626f7
1
Parent(s):
f0667f6
Estructura básica MVC
Browse files- Dockerfile +10 -0
- app/.httaccess +1 -0
- app/config/config.php +0 -0
- app/controllers/.gitkeep +0 -0
- app/helpers/.gitkeep +0 -0
- app/init.php +0 -0
- app/libraries/Controller.php +0 -0
- app/libraries/Core.php +0 -0
- app/libraries/Database.php +0 -0
- app/models/.gitkeep +0 -0
- app/views/home/index.php +0 -0
- app/views/inc/footer.php +0 -0
- app/views/inc/header.php +0 -0
- public/css/styles.css +0 -0
- public/img/.gitkeep +0 -0
- public/index.php +0 -0
- public/js/main.js +0 -0
Dockerfile
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM debian:12.6
|
2 |
+
|
3 |
+
RUN apt update -y
|
4 |
+
RUN apt upgrade -y
|
5 |
+
RUN apt install -y php php-pdo php-mysql
|
6 |
+
|
7 |
+
COPY app app
|
8 |
+
COPY public public
|
9 |
+
|
10 |
+
CMD [ "bash", "-c", "php -S 0.0.0.0:7860 /" ]
|
app/.httaccess
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Options -Indexes
|
app/config/config.php
ADDED
File without changes
|
app/controllers/.gitkeep
ADDED
File without changes
|
app/helpers/.gitkeep
ADDED
File without changes
|
app/init.php
ADDED
File without changes
|
app/libraries/Controller.php
ADDED
File without changes
|
app/libraries/Core.php
ADDED
File without changes
|
app/libraries/Database.php
ADDED
File without changes
|
app/models/.gitkeep
ADDED
File without changes
|
app/views/home/index.php
ADDED
File without changes
|
app/views/inc/footer.php
ADDED
File without changes
|
app/views/inc/header.php
ADDED
File without changes
|
public/css/styles.css
ADDED
File without changes
|
public/img/.gitkeep
ADDED
File without changes
|
public/index.php
ADDED
File without changes
|
public/js/main.js
ADDED
File without changes
|