Skip to content

Commit 2d7e6fa

Browse files
committed
Fixes
1 parent 2047541 commit 2d7e6fa

File tree

4 files changed

+16
-2
lines changed

4 files changed

+16
-2
lines changed

Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Set the base image
2+
FROM php:8.2-apache
3+
4+
# Install necessary extensions
5+
RUN docker-php-ext-install pdo
6+
7+
# Copy website files into the container
8+
COPY . /var/www/html/
9+
10+
# Expose ports
11+
EXPOSE 80 443
12+
13+
# Start Apache
14+
CMD ["apache2ctl", "-D", "FOREGROUND"]
File renamed without changes.

api/index.php renamed to index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// =============================
99

1010
$browseDirectories = true; // Navigate into sub-folders
11-
$title = 'Comp Labs Files - {{path}}';
11+
$title = 'Tech Fiddle Files - {{path}}';
1212
$subtitle = '{{files}} objects in this folder, {{size}} total'; // Empty to disable
1313
$breadcrumbs = true; // Make links in {{path}}
1414
$showParent = true; // Display a (parent directory) link

vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"functions": {
3-
"api/*.php": {
3+
"./*.php": {
44
"runtime": "[email protected]"
55
}
66
}

0 commit comments

Comments
 (0)