first commit

main
Bryan Cerrati 2025-01-06 22:32:28 -05:00
commit 2f2ffbabc4
6 changed files with 77 additions and 0 deletions

17
Dockerfile Normal file
View File

@ -0,0 +1,17 @@
# Use official Python image
FROM python:3.9-slim
# Set working directory
WORKDIR /app
# Copy files
COPY . /app
# Install dependencies
RUN pip install flask
# Expose Flask's default port
EXPOSE 2233
# Start the Flask application
CMD ["python", "app.py"]

10
app.py Normal file
View File

@ -0,0 +1,10 @@
from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
def home():
return render_template('index.html')
if __name__ == '__main__':
app.run(debug=True,host='0.0.0.0', port=2233)

11
docker-compose.yml Normal file
View File

@ -0,0 +1,11 @@
version: '3.8'
services:
web:
build: .
ports:
- "2233:2233"
volumes:
- .:/app
environment:
- FLASK_ENV=development

BIN
static/comingsoon.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 KiB

25
static/style.css Normal file
View File

@ -0,0 +1,25 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
height: 100%;
width: 100%;
overflow: hidden;
}
.fullscreen-bg {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
}
.fullscreen-bg img {
width: 100%;
height: 100%;
object-fit: contain; /* Changed to 'contain' for better scaling */
}

14
templates/index.html Normal file
View File

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Coming Soon</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}" />
</head>
<body>
<div class="fullscreen-bg">
<img src="{{ url_for('static', filename='comingsoon.jpg') }}" alt="Coming Soon" />
</div>
</body>
</html>