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 +