From 29c24df1f5c8b5fc3f9b75733c03a1cc53586c10 Mon Sep 17 00:00:00 2001 From: AtHeartEngineer Date: Tue, 26 Aug 2025 14:59:49 -0400 Subject: [PATCH] init --- Dockerfile | 14 +++++++ docker-compose.yml | 7 ++++ index.html | 98 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 119 insertions(+) create mode 100644 Dockerfile create mode 100644 docker-compose.yml create mode 100644 index.html diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b4ce990 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +# Use an official Python runtime as a parent image +FROM python:3.9-slim + +# Set the working directory in the container +WORKDIR /usr/src/app + +# Copy the current directory contents into the container at /usr/src/app +COPY . . + +# Expose port 8080 for the HTTP server +EXPOSE 8080 + +# Run the application using Python's built-in HTTP server +CMD ["python3", "-m", "http.server", "8080"] diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..742cf3d --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,7 @@ +version: '3.8' + +services: + personal-timezone: + build: . + ports: + - "8080:8080" diff --git a/index.html b/index.html new file mode 100644 index 0000000..2a6f9fc --- /dev/null +++ b/index.html @@ -0,0 +1,98 @@ + + + + + + Personal Timezone + + + +
+

Personal Timezone

+

Loading...

+
+
+
Fetching location...
+
+ + +