From 9ed16ac6cd11307034d76e6131df0d6beb547ecd Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Wed, 17 May 2023 20:48:16 +0700 Subject: [PATCH] Adding todo list and WIP Dockerfile --- Dockerfile | 11 +++++++++++ project.todo | 22 ++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 Dockerfile create mode 100644 project.todo diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..224cd12 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM python:3.11 + +WORKDIR /code + +COPY ./requirements.txt /code/requirements.txt + +RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt + +COPY ./app /code/app + +CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"] diff --git a/project.todo b/project.todo new file mode 100644 index 0000000..28aa840 --- /dev/null +++ b/project.todo @@ -0,0 +1,22 @@ +#-*- mode: org -*- +#+TODO: TODO INPROGRESS | DONE BACKLOG +#+STARTUP: overview + +* TODO Move everything into an app directory +* TODO Knock out source code TODOs +* TODO Add button to copy shortened URL to clipboard +* TODO Add a 404 page in case the URL provided is invalid +* TODO Get the container running with the Dockerfile +* TODO Point zipmy.link to joe-vps +- [ ] Add DNS records +- [ ] Add to nginx.conf +- [ ] Generate certbot SSL cert +* TODO Create a README.org +* TODO Add MIT license + +* BACKLOG Containerize couchdb +* BACKLOG RTFM on how to create docker compose files +* BACKLOG RTFM on how to create a container network +* BACKLOG Gitea Actions +* BACKLOG Unit tests +* BACKLOG Switch webserver to Axum and Rust