diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..fcea765 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,6 @@ +# v5 +services: + web: + build: . + ports: + - "8080:8080" diff --git a/dockerfile b/dockerfile new file mode 100644 index 0000000..684950e --- /dev/null +++ b/dockerfile @@ -0,0 +1,16 @@ +# Start with your base image +FROM python:3.12.3-slim + +# Set the working directory in the container +WORKDIR /app + +# Install any needed packages specified in requirements.txt +RUN pip install cherrypy +# Copy the rest of your application code into the container at /app +COPY . . + +# Make port 8080 available to the world outside this container +EXPOSE 8080 + +# Run app.py when the container launches +CMD ["python", "start.py"] diff --git a/start.py b/start.py index 3461173..fb1c8c5 100644 --- a/start.py +++ b/start.py @@ -13,7 +13,7 @@ def load(file): with open(f"{path}/webpage/{file}") as f: return f.read() # Maximum time in minutes before a file is removed -MAINTENANCE_INTERVAL_MINUTES = 1 +MAINTENANCE_INTERVAL_MINUTES = 10 def clear_cache(): diff --git a/uploads/1/Submission+2.html b/uploads/1/Submission+2.html deleted file mode 100644 index 49b6425..0000000 --- a/uploads/1/Submission+2.html +++ /dev/null @@ -1,5 +0,0 @@ -
Virtual insanity is a song about monsters and the monster is humans desire to innovate. And relates to my theme as this innovation causes humanity to be isolated from each other.
--
This is shown to us in the quote “and now every mother can chose the color of her child, that’s not nature’s way” and” And now there is no sound, for we all live underground”. The first quote shows that the Monster is humans desire to innovate by telling us that we are messing with things that can have massive consequences for nature and therefore ourselves. the next quote proves that as when he says that they live underground. He is referring to how technology is isolating us from others. It could also have the more literal meaning of how an incident involving technology forced humanity underground.
--
The second quote I have to prove this is “Always seem to be governed by this love we have For useless twisting of our new technology “This quote talks about how we get caught up in making more technology that we fail to take into account other important things like social issues, poverty, and the environment. This means the technology is a monster as it distracts us from fixing other important issues. This relates to my theme as this means technology isolates us from important issues.
\ No newline at end of file diff --git a/webpage/index.html b/webpage/index.html index ba7aed1..a7e2acb 100644 --- a/webpage/index.html +++ b/webpage/index.html @@ -7,8 +7,10 @@