add: display home markdown

This commit is contained in:
h z
2024-12-09 21:15:04 +00:00
parent 038efb745a
commit 797bf65d4e
4 changed files with 32 additions and 13 deletions

View File

@@ -1,20 +1,15 @@
FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
WORKDIR /app
RUN apt-get update &&\
apt-get install -y \
default-mysql-client &&\
apt-get clean
COPY requirements.txt /app/
RUN pip install --no-cache-dir -r requirements.txt
apt-get install -y default-mysql-client &&\
apt-get clean &&\
rm -rf /var/lib/apt/lists/*
COPY requirements.txt ./requirements.txt
RUN pip install --no-cache-dir -r ./requirements.txt
COPY . /app/
EXPOSE 5000
CMD ["python", "app.py"]
CMD ["python", "app.py"]