commit 6155287edb89bcdfe18ab41d920f39a5e952537b Author: Lumerel Deploy Date: Wed Feb 18 16:29:00 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..b624c97 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,23 @@ +FROM webdevops/php-nginx:8.3-alpine +ENV WEB_DOCUMENT_ROOT=/app +ARG CACHE_BUST=1771432140 +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..fd0a967 --- /dev/null +++ b/styles.css @@ -0,0 +1,32 @@ +body { + font-family: Arial, sans-serif; + background-color: #f4f4f4; + display: flex; + justify-content: center; + align-items: center; + height: 100vh; + margin: 0; + color: #333; +} + +.container { + background-color: white; + padding: 2rem; + border-radius: 10px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + text-align: center; + max-width: 500px; + width: 100%; +} + +h1 { + color: #4a4a4a; + margin-bottom: 1rem; +} + +.fun-fact { + margin-top: 1rem; + font-size: 0.9rem; + color: #666; + font-style: italic; +} \ No newline at end of file