commit 0fcc6de0e58bb656aae8380a8d7a4f9a43a988ad Author: Lumerel Deploy Date: Wed Feb 18 16:56:25 2026 +0000 Deploy from Lumerel diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..17896fe --- /dev/null +++ b/.dockerignore @@ -0,0 +1,3 @@ +.git +Dockerfile +.dockerignore diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d2b4d88 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,23 @@ +FROM webdevops/php-nginx:8.3-alpine +ENV WEB_DOCUMENT_ROOT=/app +ARG CACHE_BUST=1771433785 +COPY . /app +RUN echo "index index.php index.html index.htm;" > /opt/docker/etc/nginx/vhost.common.d/01-index.conf \ + && echo "add_header Cache-Control 'no-cache, no-store, must-revalidate';" > /opt/docker/etc/nginx/vhost.common.d/02-no-cache.conf +RUN set -e; if [ -f /app/composer.json ]; then \ + echo ">>> composer.json found, installing dependencies..."; \ + curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer; \ + cd /app && composer install --no-dev --no-interaction --optimize-autoloader; \ + ls -la /app/vendor/autoload.php; \ + else \ + echo ">>> No composer.json found, skipping composer install"; \ + fi +RUN set -e; if [ -f /app/package.json ]; then \ + echo ">>> package.json found, installing node dependencies..."; \ + apk add --no-cache nodejs npm; \ + cd /app && npm install --production; \ + else \ + echo ">>> No package.json found, skipping npm install"; \ + fi + +RUN chown -R application:application /app \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..d8b07b3 --- /dev/null +++ b/index.html @@ -0,0 +1,48 @@ + + + + + + Hello World - Bootstrap + + + + + + +
+
+
+
+
+

Hello, World!

+

+ Welcome to this Bootstrap-powered page. This is a simple demonstration + of Bootstrap 5.3.0 components and utilities working together to create + a beautiful, responsive design. +

+ + + +
+ + +
+
+
+
+
+
+ + + + + diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..a13e751 --- /dev/null +++ b/styles.css @@ -0,0 +1,6 @@ +.fun-fact { + margin-top: 1rem; + font-size: 0.9rem; + color: #666; + font-style: italic; +} \ No newline at end of file