made flask server able to read markdown files for posts

This commit is contained in:
0x01fe committed 2024-03-11 14:27:53 -05:00
1 parent ad3a3f17ff
commit 5c4d0dfa6f
11 files changed
+155 -44

No files matched your search

+18
View File
@@ -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"]