made flask server able to read markdown files for posts
This commit is contained in:
1 parent
ad3a3f17ff
commit
5c4d0dfa6f
11 files changed
+155
-44
No files matched your search
+18
@@ -0,0 +1,18 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM python:3.12.2-slim-bookworm
|
||||
|
||||
RUN apt-get update && apt-get upgrade -y
|
||||
|
||||
RUN useradd -m app
|
||||
|
||||
USER app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN python3 -m pip install --upgrade pip
|
||||
RUN python3 -m pip install -r requirements.txt
|
||||
|
||||
WORKDIR ./app
|
||||
|
||||
CMD ["python3", "-u", "./app.py"]
|
||||
Reference in new issue
Block a user