From 52800a249d0fb36d9a7bd97b6192ee6a724a29c3 Mon Sep 17 00:00:00 2001 From: 0x01FE <0x10FE@0x01fe.net> Date: Fri, 29 Mar 2024 11:30:53 -0500 Subject: [PATCH] added the writing page --- .gitignore | 4 ++++ Dockerfile | 6 +++--- app/static/writing.html | 9 +++++++++ app/templates/index.html | 11 ++++++----- 4 files changed, 22 insertions(+), 8 deletions(-) create mode 100644 app/static/writing.html diff --git a/.gitignore b/.gitignore index 46a471d..8726ba8 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,7 @@ docker-compose.yaml *.jpg *.png *.gif + +# Writing +writing + diff --git a/Dockerfile b/Dockerfile index 67b613a..9360969 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,7 @@ FROM python:3.12.2-slim-bookworm RUN apt-get update && apt-get upgrade -y -RUN useradd -m app - -USER app +RUN groupadd -r app && useradd -r -g app app COPY . . @@ -15,4 +13,6 @@ RUN python3 -m pip install -r requirements.txt WORKDIR ./app +USER app + CMD ["python3", "-u", "app.py"] diff --git a/app/static/writing.html b/app/static/writing.html new file mode 100644 index 0000000..44de92c --- /dev/null +++ b/app/static/writing.html @@ -0,0 +1,9 @@ + + +
+ home +