add: display home markdown
This commit is contained in:
17
Dockerfile
17
Dockerfile
@@ -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"]
|
||||
Reference in New Issue
Block a user